-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure version is set correctly when publishing kubectn-ng
- Loading branch information
1 parent
c7b686a
commit 92a98df
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|