Compare commits
2 commits
d611f74cfb
...
7c6712d7a4
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c6712d7a4 | |||
| 0006a056db |
1 changed files with 10 additions and 1 deletions
|
|
@ -46,6 +46,15 @@ last_nightly_version=$(curl -s "https://api.github.com/repos/$repo/releases/late
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local_version="$(git --git-dir $BASEDIR/.git describe)"
|
||||||
|
if [ "$local_version" == "$last_nightly_version" ] ; then
|
||||||
|
echo "$title is already at version $last_nightly_version"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "building $title version $local_version..."
|
||||||
|
echo
|
||||||
echo running tests...
|
echo running tests...
|
||||||
|
|
||||||
./zig build test
|
./zig build test
|
||||||
|
|
@ -99,4 +108,4 @@ echo > "$release_notes"
|
||||||
git log "$(git describe --tags --abbrev=0)..HEAD" --pretty="format:%al %s" >> "$release_notes"
|
git log "$(git describe --tags --abbrev=0)..HEAD" --pretty="format:%al %s" >> "$release_notes"
|
||||||
cat "$release_notes"
|
cat "$release_notes"
|
||||||
|
|
||||||
gh release create (git --git-dir $BASEDIR/.git describe) --notes-file "$release_notes" $DESTDIR/*
|
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue