Skip to content

Commit

Permalink
Pipeline improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
DomPeliniAerospike committed Dec 4, 2024
1 parent a8ff6d0 commit 7c0167a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
id: get-current-version
run: echo current_version=$(node -e "console.log(require('./package.json').version);") >> $GITHUB_OUTPUT

- name: Print current version
run: echo "Current version is: ${{ steps.get-current-version.outputs.current_version }}"


get-new-version:
runs-on: ubuntu-22.04
needs: get-current-version
Expand All @@ -74,6 +78,11 @@ jobs:
- name: Get new version
id: get-new-version
run: echo new_version=$(node bump-dev-num.js) >> $GITHUB_OUTPUT
working-directory: .github/workflows

- name: Print new version
run: echo "New version is: ${{ steps.get-current-version.outputs.new_version }}"


update-version-in-repo:
needs: get-new-version
Expand Down

0 comments on commit 7c0167a

Please sign in to comment.