-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: driver version not updated on tagged release (#328)
This version of the driver was not updated on new releases. This causes the user-agent to include the old version.
- Loading branch information
Showing
2 changed files
with
2 additions
and
7 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 |
---|---|---|
|
@@ -18,10 +18,11 @@ jobs: | |
OWNER: ${{ github.repository_owner }} | ||
run: | | ||
sed -i -e "s#: .*/hcloud-csi-driver:latest#: $OWNER/hcloud-csi-driver:$RELEASE_VERSION#" deploy/kubernetes/hcloud-csi.yml | ||
sed -i -e "s/PluginVersion = \".*\"$/PluginVersion = \"$RELEASE_VERSION\"/g" driver/driver.go | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "Update image tags in hcloud-csi.yml to $RELEASE_VERSION" | ||
git commit -m "Update version tags to $RELEASE_VERSION" | ||
git tag -d v$RELEASE_VERSION | ||
git tag v$RELEASE_VERSION | ||
git push origin v$RELEASE_VERSION -f | ||
|
This file was deleted.
Oops, something went wrong.