Skip to content

Commit

Permalink
Update bump-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Feb 11, 2024
1 parent e74fd71 commit fb405e2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ on:
- major

jobs:
prep:
runs-on: ubuntu-latest
outputs:
bugBranch: ${{ steps.saveBugfixBranch.outputs.bugBranch }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- id: saveBugfixBranch
run: echo "bugBranch=$(git branch --list *.*.z)" >> $GITHUB_OUTPUT
# ${{ needs.prep.outputs.bugBranch }}
build:
needs: prep
if: ${{ github.event.inputs.versionType == 'build' }}
Expand All @@ -46,7 +37,7 @@ jobs:
run: echo "targetBranch=${{ github.event.inputs.targetBranch }}" >> $GITHUB_ENV
- name: Update targetBranch with actual bugfix branch name
if: github.event.inputs.targetBranch == 'bugfix'
run: echo "targetBranch=${{ needs.prep.outputs.bugBranch }}" >> $GITHUB_ENV
run: echo "targetBranch=$(git branch --list *.*.z)" >> $GITHUB_ENV
# Save old version
- name: Find and save old major_version from manifest
run: awk 'BEGIN { FS="=" } /^major_version/ { print "oldMajor="$2; }' manifest >> $GITHUB_ENV
Expand Down

0 comments on commit fb405e2

Please sign in to comment.