mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-27 11:20:25 +00:00
Tag releases as v...
This commit is contained in:
parent
90daccb2a6
commit
ff31da0d6d
1 changed files with 15 additions and 14 deletions
|
|
@ -5,16 +5,17 @@
|
|||
# $1 is the title, $2 is the description
|
||||
|
||||
commitID=$(git rev-parse HEAD)
|
||||
tag="v$1"
|
||||
|
||||
echo "Creating tag"
|
||||
git tag $1 $commitID
|
||||
git tag $tag $commitID
|
||||
git push --tags
|
||||
|
||||
echo "Creating new release"
|
||||
github-release release \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "$1" \
|
||||
--description "$2" \
|
||||
--pre-release
|
||||
|
|
@ -23,7 +24,7 @@ echo "Uploading OSX binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-osx.tar.gz" \
|
||||
--file binaries/micro-$1-osx.tar.gz
|
||||
|
||||
|
|
@ -31,7 +32,7 @@ echo "Uploading Linux 64 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-linux64.tar.gz" \
|
||||
--file binaries/micro-$1-linux64.tar.gz
|
||||
|
||||
|
|
@ -39,7 +40,7 @@ echo "Uploading Linux 32 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-linux32.tar.gz" \
|
||||
--file binaries/micro-$1-linux32.tar.gz
|
||||
|
||||
|
|
@ -47,7 +48,7 @@ echo "Uploading Linux Arm binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-linux-arm.tar.gz" \
|
||||
--file binaries/micro-$1-linux-arm.tar.gz
|
||||
|
||||
|
|
@ -55,7 +56,7 @@ echo "Uploading FreeBSD 64 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-freebsd64.tar.gz" \
|
||||
--file binaries/micro-$1-freebsd64.tar.gz
|
||||
|
||||
|
|
@ -63,7 +64,7 @@ echo "Uploading FreeBSD 32 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-freebsd32.tar.gz" \
|
||||
--file binaries/micro-$1-freebsd32.tar.gz
|
||||
|
||||
|
|
@ -71,7 +72,7 @@ echo "Uploading OpenBSD 64 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-openbsd64.tar.gz" \
|
||||
--file binaries/micro-$1-openbsd64.tar.gz
|
||||
|
||||
|
|
@ -79,7 +80,7 @@ echo "Uploading OpenBSD 32 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-openbsd32.tar.gz" \
|
||||
--file binaries/micro-$1-openbsd32.tar.gz
|
||||
|
||||
|
|
@ -87,7 +88,7 @@ echo "Uploading NetBSD 64 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-netbsd64.tar.gz" \
|
||||
--file binaries/micro-$1-netbsd64.tar.gz
|
||||
|
||||
|
|
@ -95,7 +96,7 @@ echo "Uploading NetBSD 32 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-netbsd32.tar.gz" \
|
||||
--file binaries/micro-$1-netbsd32.tar.gz
|
||||
|
||||
|
|
@ -103,7 +104,7 @@ echo "Uploading Windows 64 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-win64.zip" \
|
||||
--file binaries/micro-$1-win64.zip
|
||||
|
||||
|
|
@ -111,6 +112,6 @@ echo "Uploading Windows 32 binary"
|
|||
github-release upload \
|
||||
--user zyedidia \
|
||||
--repo micro \
|
||||
--tag $1 \
|
||||
--tag $tag \
|
||||
--name "micro-$1-win32.zip" \
|
||||
--file binaries/micro-$1-win32.zip
|
||||
|
|
|
|||
Loading…
Reference in a new issue