Skip to content

Commit

Permalink
Python release build step update to use SNAPSHOT instead of dev
Browse files Browse the repository at this point in the history
Update the Python release BuildStep to label releases with `SNAPSHOT`
instead of `dev` for consistency with changes made in #52 and #57.

Resolve #62
  • Loading branch information
MJJoyce committed Sep 17, 2021
1 parent a032873 commit f1cb9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pds/roundup/_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def execute(self):
match = re.match(r'^(v\d+\.\d+\.\d+)', candidate)
if match is None:
_logger.info("🐣 No 'v1.2.3' style tags in this repo so assuming we start with 0.0.0; happy birthday!")
tag = 'v0.0.0-dev-' + slate
tag = 'v0.0.0-SNAPSHOT-' + slate
else:
tag = match.group(1) + '-dev-' + slate
tag = match.group(1) + '-SNAPSHOT-' + slate
git_config()
try:
invokeGIT(['tag', '--annotate', '--force', '--message', f'Snapshot {slate}', tag])
Expand Down

0 comments on commit f1cb9de

Please sign in to comment.