Skip to content

Commit

Permalink
Fix variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz committed Nov 13, 2024
1 parent 80fc676 commit ee5505f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/release-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
# override vName with new version
- name: Create release branch
run: |
git checkout -b ${{ RELEASE_BRANCH }}
git push origin ${{ RELEASE_BRANCH }}
git checkout -b $RELEASE_BRANCH
git push origin $RELEASE_BRANCH
- name: Run Python script to update release branch version
run: python scripts/updateVersionName.py ${{ RELEASE_VERSION }}
run: python scripts/updateVersionName.py $RELEASE_VERSION

- name: Commit and Push Changes
uses: flex-development/[email protected]
with:
message: 'Update version to ${{ RELEASE_VERSION }}'
ref: ${{ RELEASE_BRANCH }}
message: 'Update version to $RELEASE_VERSION'
ref: $RELEASE_BRANCH

update_version:
# The type of runner that the job will run on
Expand All @@ -68,18 +68,20 @@ jobs:
python-version: 3.12.1

- name: Create release branch
run: git checkout -b ${{ DEVELOPMENT_BRANCH }}
run: |
git checkout -b $DEVELOPMENT_BRANCH
git push origin $DEVELOPMENT_BRANCH
- name: Run Python script to update base branch version
run: python scripts/updateVersionName.py ${{ DEVELOPMENT_VERSION }}
run: python scripts/updateVersionName.py $DEVELOPMENT_VERSION

- name: Commit and Push Changes
uses: flex-development/[email protected]
with:
message: 'Update version to ${{ DEVELOPMENT_VERSION }}'
ref: ${{ DEVELOPMENT_BRANCH }}
message: 'Update version to $DEVELOPMENT_VERSION'
ref: $DEVELOPMENT_BRANCH

- name: create pull request
run: gh pr create -B develop -H update_version_to${{ DEVELOPMENT_VERSION }} --title 'Merge ${{ DEVELOPMENT_BRANCH }} into develop' --body 'Created by Github action'
run: gh pr create -B develop -H update_version_to$DEVELOPMENT_VERSION --title 'Merge $DEVELOPMENT_BRANCH into develop' --body 'Created by Github action'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ee5505f

Please sign in to comment.