mirror of
https://github.com/zyedidia/micro
synced 2024-09-30 05:06:02 +00:00
14 lines
326 B
Bash
14 lines
326 B
Bash
|
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."
|