Skip to content

Commit

Permalink
Ensure version is set correctly when publishing kubectn-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Jan 9, 2024
1 parent c7b686a commit 92a98df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,16 @@ jobs:
poetry add kr8s==${RELEASE_VERSION}
poetry lock
popd
- name: Push new pins back to the repo
run: |
git config --global user.name 'Kr8s Bot'
git config --global user.email '[email protected]'
git commit -am "Bumping kubectl-ng pin to ${RELEASE_VERSION}"
git push origin HEAD:main
# Move the pin forward in our working copy to ensure the version is
# dynamically generated correctly during publishing
git tag -d ${RELEASE_VERSION} && git tag ${RELEASE_VERSION}
- name: Publish kubectl-ng
uses: JRubics/[email protected]
with:
Expand Down

0 comments on commit 92a98df

Please sign in to comment.