This website requires JavaScript.
Explore
Help
Sign In
wez
/
wezterm
Watch
1
Star
1
Fork
0
You've already forked wezterm
mirror of
https://github.com/wez/wezterm.git
synced
2024-12-26 14:54:16 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
46c759a08f
wezterm
/
ci
/
tag.sh
5 lines
101 B
Bash
Raw
Normal View
History
Unescape
Escape
scripts for tagging
2019-03-24 08:58:23 +03:00
#!/bin/bash
ci: simplify version number Previously, we used `git describe --tags` to produce a version number for non-released builds derived from the most recent tag + some info such as the number of commits since that tag and then `g{HASH}`. That always confuses people because the date portion at the front looks old (it is typically the previous release) and the hash at the end has that `g` in it. This commit simplifies both the tag name used when making a release and the computed version number take the date/time from the current commit, and then append the hash. That way the version number always corresponds to a commit. This scheme doesn't help detect situations where the commit is dirty, but I don't think the old one would have helped with that either.
2021-04-30 06:23:47 +03:00
TAGNAME
=
$(
git show -s
"--format=%cd-%h"
"--date=format:%Y%m%d-%H%M%S"
)
scripts for tagging
2019-03-24 08:58:23 +03:00
git tag
$TAGNAME
Reference in New Issue
Copy Permalink