Skip to content

Commit

Permalink
👷 fix versionmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
xarunoba committed May 22, 2024
1 parent cf2e1f1 commit daee243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion taskfile.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tasks:
vars:
VERSION: '{{index .MATCH 0}}'
cmds:
- ./versionmanager VERSION="{{.VERSION}}"
- bash ./versionmanager {{.VERSION}}
- git add ./internal/version/version.go
- git commit -m "🔖 release version {{.VERSION}}"
- git tag {{index .MATCH 0}}
Expand Down
2 changes: 1 addition & 1 deletion versionmanager
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
version=${VERSION#v}
version=${1#v}

cat << EOF > ./internal/version/version.go
package version
Expand Down

0 comments on commit daee243

Please sign in to comment.