1
1
mirror of https://github.com/walles/moar.git synced 2024-07-07 08:36:29 +03:00

Move historical releases into their own directory

Because of <https://github.com/microsoft/vscode/issues/38878> vscode
doesn't handle having old releases in the top dir. This change moves
them away.
This commit is contained in:
Johan Walles 2020-12-30 17:40:27 +01:00
parent ccf2af496e
commit f0dead13ad
4 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
/moar
/moar-*-*-*
/releases/moar-*

View File

@ -4,7 +4,7 @@ VERSION="$(git describe --dirty)"
BINARY="moar"
if [ -n "$GOOS$GOARCH" ] ; then
BINARY="$BINARY-$VERSION-$GOOS-$GOARCH"
BINARY="releases/$BINARY-$VERSION-$GOOS-$GOARCH"
fi
# Linker flags trick below from here:

View File

@ -51,4 +51,4 @@ git push --tags
# upload them for the user.
echo
echo "Please upload the following binaries to <https://github.com/walles/moar/releases/tag/$VERSION>:"
file moar-"$VERSION"-*-*
file releases/moar-"$VERSION"-*-*

1
releases/README.md Normal file
View File

@ -0,0 +1 @@
The `release.sh` and the `test.sh` scripts will populate this directory.