mirror of
https://github.com/zyedidia/micro.git
synced 2024-09-11 04:05:38 +03:00
14 lines
326 B
Bash
Executable File
14 lines
326 B
Bash
Executable File
commitID=$(git rev-parse --short HEAD)
|
|
echo "Moving tag"
|
|
hub push origin :refs/tags/nightly
|
|
git tag -f nightly $commitID
|
|
hub push --tags
|
|
|
|
MESSAGE=$'Nightly build\n\nAutogenerated nightly build of micro'
|
|
|
|
echo "Creating new release"
|
|
hub release create nightly \
|
|
--prerelease \
|
|
--draft=false \
|
|
--message "$MESSAGE."
|