Skip to content

Commit

Permalink
change(build): vSEMVER -> fst-vSEMVER
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieantonio committed Oct 8, 2020
1 parent a3ba7f4 commit 9c56cc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/fsts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: "Build FSTs for ALTLab (University of Alberta) and friends"
on:
push:
tags:
# Occurs on tags matching v* like v2020.10.07-alpha.0
- 'v*'
# Occurs on tags matching fst-v* like fst-v2020.10.07-alpha.0
# Why not v*? like ordinary semver. Because it breaks something...
# somewhere. Pester @bbqsrc (Brendan) about it
- 'fst-v*'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion make-fst-release
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_prerelease_from_args():
def generate_tag_text(prerelease):
"generates an appropriate calver (semver) tag"
today = datetime.now()
tag = f"v{today.year}.{today.month}.{today.day}"
tag = f"fst-v{today.year}.{today.month}.{today.day}"

if prerelease:
tag = f"{tag}-{prerelease}"
Expand Down

0 comments on commit 9c56cc7

Please sign in to comment.