Skip to content

Commit 9624479

Browse files
committed
Simplified way to set the VERSION for tagging
Signed-off-by: tdruez <tdruez@nexb.com>
1 parent be33d72 commit 9624479

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ Make a new release
117117
- Tag and push that tag. This triggers the pypi-release.yml workflow that takes care of
118118
building the dist release files and upload those to pypi::
119119

120-
git tag -a vx.x.x -m "Tag vx.x.x"
121-
git push origin vx.x.x
120+
VERSION=v0.x.x
121+
git tag -a $VERSION -m "Tag $VERSION"
122+
git push origin $VERSION
122123

123124
- Review and publish the "draft" release created by the workflow at
124125
https://github.com/package-url/packageurl-python/releases

0 commit comments

Comments
 (0)