-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d69a715
commit ea29e75
Showing
3 changed files
with
30 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -27,6 +27,20 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
WITH_V: true | ||
DRY_RUN: true | ||
- run: | | ||
tee version.go << END | ||
package aiven | ||
// Version returns aiven-go-client version string | ||
func Version() string { | ||
return "${{ steps.version.outputs.new_tag }}" | ||
} | ||
END | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "chore(version.go): update go-client-codegen version" | ||
git push | ||
- id: sha | ||
run: | | ||
GIT_SHA=$(git rev-parse HEAD) | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package aiven | ||
|
||
// Version returns aiven-go-client version string | ||
func Version() string { | ||
return "v0.4.0" | ||
} |