Skip to content

Commit

Permalink
fix tools/push-tags script
Browse files Browse the repository at this point in the history
  • Loading branch information
navigaid committed Jan 22, 2024
1 parent 5bbf629 commit ea9b455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/push-tags
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

ROOT_MOD=$(go mod edit -json | jq -r .Module.Path)

go work edit --json | jq .Use[] -c | jq -r .ModPath | xargs -I% bash -c 'echo %/$(<VERSION)' | sed s,^$ROOT_MOD/,,g | xargs -I% bash -vc 'git tag -f % && git push -f origin %'
cat .mods | xargs -I% bash -c 'echo %/$(<VERSION)' | sed s,^$ROOT_MOD/,,g | xargs -I% bash -vc 'git tag -f % && git push -f origin %'

0 comments on commit ea9b455

Please sign in to comment.