mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
fix: update script calls to use env variable for CURRENT_BRANCH_NAME
This commit is contained in:
2
.github/workflows/docker-release.yml
vendored
2
.github/workflows/docker-release.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
id: extract
|
||||
run: |
|
||||
# Extract version from branch name and validate against version.py
|
||||
.github/scripts/extract_version.sh "$CURRENT_BRANCH_NAME"
|
||||
.github/scripts/extract_version.sh "${{ env.CURRENT_BRANCH_NAME }}"
|
||||
|
||||
- name: Validate version format
|
||||
run: |
|
||||
|
||||
3
.github/workflows/github-release.yml
vendored
3
.github/workflows/github-release.yml
vendored
@@ -27,12 +27,11 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
ref: $CURRENT_BRANCH_NAME
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Extract version from branch
|
||||
id: extract
|
||||
run: .github/scripts/extract_version.sh "$CURRENT_BRANCH_NAME"
|
||||
run: .github/scripts/extract_version.sh "${{ env.CURRENT_BRANCH_NAME }}"
|
||||
|
||||
- name: Validate version format
|
||||
id: validate
|
||||
|
||||
2
.github/workflows/version-release.yml
vendored
2
.github/workflows/version-release.yml
vendored
@@ -45,4 +45,4 @@ jobs:
|
||||
echo "Branch '$BRANCH_NAME' does not exist, proceeding..."
|
||||
|
||||
- name: Create release branch and update version
|
||||
run: .github/scripts/create_release.sh "${{ steps.validate.outputs.version }}" "$CURRENT_BRANCH_NAME"
|
||||
run: .github/scripts/create_release.sh "${{ steps.validate.outputs.version }}" "${{ env.CURRENT_BRANCH_NAME }}"
|
||||
|
||||
Reference in New Issue
Block a user