Compare commits
17 Commits
42f4a40f59
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| f48776c44b | |||
| bacd7998e6 | |||
|
cbe5f98dc4
|
|||
|
935c41f174
|
|||
|
9e37f60604
|
|||
|
dd53489dfa
|
|||
|
0c26e2c106
|
|||
|
cc7b38430e
|
|||
|
e80d8f1286
|
|||
|
9a5aae719a
|
|||
|
355b995efb
|
|||
|
094412fee9
|
|||
| 7c4c14df31 | |||
| 23993d74c9 | |||
| fb0746e29e | |||
| 5465bd4c77 | |||
| a0e511b4aa |
@@ -0,0 +1,32 @@
|
|||||||
|
name: changelog
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
changelog:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: docker.io/thegeeklab/git-sv:2.1.3
|
||||||
|
steps:
|
||||||
|
- name: install tools
|
||||||
|
run: |
|
||||||
|
apk add -q --update --no-cache nodejs curl jq sed
|
||||||
|
- uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Generate upcoming changelog
|
||||||
|
run: |
|
||||||
|
git sv rn -o changelog.md
|
||||||
|
export RELEASE_NOTES=$(cat changelog.md)
|
||||||
|
export ISSUE_NUMBER=$(curl -s "https://git.dubyatp.xyz/api/v1/repos/williamp/yt-dlp-bot/issues?state=open&q=Changelog%20for%20upcoming%20version" | jq '.[].number')
|
||||||
|
|
||||||
|
echo $RELEASE_NOTES
|
||||||
|
JSON_DATA=$(echo "" | jq -Rs --arg title 'Changelog for upcoming version' --arg body "$(cat changelog.md)" '{title: $title, body: $body}')
|
||||||
|
|
||||||
|
if [ -z "$ISSUE_NUMBER" ]; then
|
||||||
|
curl -s -X POST "https://git.dubyatp.xyz/api/v1/repos/williamp/yt-dlp-bot/issues" -H "Authorization: token ${{ secrets.ACTIONS_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
|
||||||
|
else
|
||||||
|
curl -s -X PATCH "https://git.dubyatp.xyz/api/v1/repos/williamp/yt-dlp-bot/issues/$ISSUE_NUMBER" -H "Authorization: token ${{ secrets.ACTIONS_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
|
||||||
|
fi
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
version: '1.1' # Configuration version.
|
||||||
|
|
||||||
|
versioning:
|
||||||
|
update-major: [breaking] # Commit types used to bump major.
|
||||||
|
update-minor: [feat, perf] # Commit types used to bump minor.
|
||||||
|
update-patch: [build, ci, chore, fix, perf, refactor, test] # Commit types used to bump patch.
|
||||||
|
# When type is not present on update rules and is unknown (not mapped on commit message types);
|
||||||
|
# if ignore-unknown=false bump patch, if ignore-unknown=true do not bump version.
|
||||||
|
ignore-unknown: false
|
||||||
|
|
||||||
|
tag:
|
||||||
|
pattern: 'v%d.%d.%d' # Pattern used to create git tag.
|
||||||
|
filter: '' # Enables you to filter for considerable tags using git pattern syntax.
|
||||||
|
|
||||||
|
release-notes:
|
||||||
|
sections: # Array with each section of release note. Check template section for more information.
|
||||||
|
- name: Breaking Changes
|
||||||
|
section-type: breaking-changes
|
||||||
|
- name: Features # Name used on section.
|
||||||
|
section-type: commits # Type of the section, supported types: commits, breaking-changes.
|
||||||
|
commit-types: [feat, perf] # Commit types for commit section-type, one commit type cannot be in more than one section.
|
||||||
|
- name: Bug Fixes
|
||||||
|
section-type: commits
|
||||||
|
commit-types: [fix]
|
||||||
|
- name: Maintenance
|
||||||
|
section-type: commits
|
||||||
|
commit-types: [chore, refactor]
|
||||||
|
- name: Documentation
|
||||||
|
commit-types: [docs]
|
||||||
|
section-type: commits
|
||||||
|
- name: CI
|
||||||
|
commit-types: [ci]
|
||||||
|
section-type: commits
|
||||||
|
|
||||||
|
branches: # Git branches config.
|
||||||
|
prefix: ([a-z]+\/)? # Prefix used on branch name, it should be a regex group.
|
||||||
|
suffix: (-.*)? # Suffix used on branch name, it should be a regex group.
|
||||||
|
disable-issue: false # Set true if there is no need to recover issue id from branch name.
|
||||||
|
skip: [] # List of branch names ignored on commit message validation.
|
||||||
|
skip-detached: false # Set true if a detached branch should be ignored on commit message validation.
|
||||||
|
|
||||||
|
commit-message:
|
||||||
|
# Supported commit types.
|
||||||
|
types: [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]
|
||||||
|
header-selector: '' # You can put in a regex here to select only a certain part of the commit message. Please define a regex group 'header'.
|
||||||
|
scope:
|
||||||
|
# Define supported scopes, if blank, scope will not be validated, if not, only scope listed will be valid.
|
||||||
|
# Don't forget to add "" on your list if you need to define scopes and keep it optional.
|
||||||
|
values: []
|
||||||
|
footer:
|
||||||
|
issue: # Use "issue: {}" if you wish to disable issue footer.
|
||||||
|
key: jira # Name used to define an issue on footer metadata.
|
||||||
|
key-synonyms: [Jira, JIRA] # Supported variations for footer metadata.
|
||||||
|
use-hash: false # If false, use :<space> separator. If true, use <space># separator.
|
||||||
|
add-value-prefix: '' # Add a prefix to issue value.
|
||||||
|
issue:
|
||||||
|
regex: '[A-Z]+-[0-9]+' # Regex for issue id.
|
||||||
+3
-3
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
########################################
|
########################################
|
||||||
# Versions
|
# Versions
|
||||||
ARG YT_DLP_VERSION="2026.06.09"
|
ARG YT_DLP_VERSION="2026.07.04"
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Deno builder stage
|
# Deno builder stage
|
||||||
@@ -38,7 +38,7 @@ RUN case "$TARGETARCH" in \
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# FFmpeg builder stage
|
# FFmpeg builder stage
|
||||||
FROM debian:13-slim@sha256:4e401d95de7083948053197a9c3913343cd06b706bf15eb6a0c3ccd26f436a0e AS ffmpeg-builder
|
FROM debian:13-slim@sha256:28de0877c2189802884ccd20f15ee41c203573bd87bb6b883f5f46362d24c5c2 AS ffmpeg-builder
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends ffmpeg
|
apt-get install -y --no-install-recommends ffmpeg
|
||||||
COPY --from=yt-dlp-builder /rootfs/bin/yt-dlp /yt-dlp
|
COPY --from=yt-dlp-builder /rootfs/bin/yt-dlp /yt-dlp
|
||||||
@@ -54,7 +54,7 @@ RUN mkdir -p /rootfs/bin && \
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# App builder stage
|
# App builder stage
|
||||||
FROM golang:1.26.4-trixie@sha256:bbf22ddccb3205344f2755ea8fa4fe39f7a8b2b77b9f7b764ec2aad31406f6fc AS app-builder
|
FROM golang:1.26.4-trixie@sha256:68b7145ec43d1820b9a56704554b53d1520aa2a15cb5233e374188a31b2a1bce AS app-builder
|
||||||
|
|
||||||
COPY app/ /opt/app
|
COPY app/ /opt/app
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
|
|||||||
Reference in New Issue
Block a user