mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
print warning about skipping snapshots
This commit is contained in:
1
tip.py
1
tip.py
@@ -76,6 +76,7 @@ if gh_ref[0:10] == 'refs/tags/':
|
|||||||
is_prerelease = False
|
is_prerelease = False
|
||||||
elif getenv('INPUT_SNAPSHOTS', 'true') == 'true':
|
elif getenv('INPUT_SNAPSHOTS', 'true') == 'true':
|
||||||
# is semver compilant prerelease tag, thus a snapshot (we skip it)
|
# is semver compilant prerelease tag, thus a snapshot (we skip it)
|
||||||
|
print("! Skipping snapshot prerelease")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
gh_tag = None
|
gh_tag = None
|
||||||
|
|||||||
Reference in New Issue
Block a user