mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-20 05:34:19 -04:00
Include release scripts
This commit is contained in:
parent
aa91af32a5
commit
efaf76e9ab
4 changed files with 84 additions and 0 deletions
21
contrib/release
Executable file
21
contrib/release
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "usage: $0 <new-version>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
new_version="$1"
|
||||
|
||||
if [ "$new_version" != "${new_version#v}" ]; then
|
||||
echo "Error: The new version shouldn't be prefixed with a \"v\"." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -x
|
||||
|
||||
./increment_version "$new_version"
|
||||
./tag-release "$new_version"
|
||||
./sign-release
|
||||
|
||||
git push --tags
|
||||
Loading…
Add table
Add a link
Reference in a new issue