Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
spbsoluble committed Dec 6, 2023
1 parent 29ff329 commit 98b0d6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/keyfactor-starter-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,20 @@ jobs:
update-if-needed:
needs: check-package-version
runs-on: ubuntu-latest
if: ${{ env.UPDATE_VERSION }} == 'true'

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Update Package Version
id: update-version
if: ${{ env.UPDATE_VERSION }} == 'true'
run: |
sed -i "s/const VERSION = .*/const VERSION = \"${{ env.MANUAL_VERSION }}\"/" pkg/version/version.go
- uses: Keyfactor/[email protected]
name: Add and Commit
needs: update-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit 98b0d6a

Please sign in to comment.