Skip to content

Commit

Permalink
Merge pull request #387 from RhinoSecurityLabs/bug/fix_workflow_docke…
Browse files Browse the repository at this point in the history
…r_version

Make pacu version expand in workflow for docker version
  • Loading branch information
DaveYesland authored Jan 5, 2024
2 parents 32acd6b + c5f98b2 commit b446f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
run: |
poetry version ${{ github.event.inputs.SemVer_level }}
ver="$(poetry version -s)"
sed -i 's/pacu.version=".*"/pacu.version="${ver}"/' Dockerfile
sed -i 's/pacu.version=".*"/pacu.version="${ver}"/' Dockerfile.dev
sed -i "s/pacu.version=\".*\"/pacu.version=\"$ver\"/" Dockerfile
sed -i "s/pacu.version=\".*\"/pacu.version=\"$ver\"/" Dockerfile.dev
- name: Commit and push version changes
run: |
ver="$(poetry version -s)"
Expand Down

0 comments on commit b446f58

Please sign in to comment.