1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 06:43:24 +03:00

Don't mark releases as snapshots

This commit is contained in:
Tae Won Ha 2016-10-24 22:28:48 +02:00
parent 7a5da4a7e4
commit cb677f7a61
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 8 additions and 2 deletions

View File

@ -42,7 +42,7 @@ echo "### Tag: ${TAG}"
echo "### VimR archive file name: ${VIMR_FILE_NAME}"
./bin/commit_and_push_tags.sh "${BRANCH}" "${TAG}"
./bin/create_github_release.sh "${COMPOUND_VERSION}" "${TAG}" "${VIMR_FILE_NAME}" "${RELEASE_NOTES}"
./bin/create_github_release.sh "${COMPOUND_VERSION}" "${TAG}" "${VIMR_FILE_NAME}" "${RELEASE_NOTES}" ${IS_SNAPSHOT}
./bin/set_appcast.py "build/Release/${VIMR_FILE_NAME}" "${BUNDLE_VERSION}" "${MARKETING_VERSION}" "${TAG}" ${IS_SNAPSHOT}
./bin/commit_and_push_appcast.sh "${BRANCH}" "${COMPOUND_VERSION}" ${IS_SNAPSHOT}

View File

@ -6,11 +6,17 @@ COMPOUND_VERSION=$1
TAG=$2
VIMR_FILE_NAME=$3
RELEASE_NOTES=$4
IS_SNAPSHOT=$5
pushd build/Release
tar cjf ${VIMR_FILE_NAME} VimR.app
PRERELEASE=""
if [ "${IS_SNAPSHOT}" = true ] ; then
PRERELEASE="--pre-release"
fi
echo "### Creating release"
GITHUB_TOKEN=$(cat ~/.config/github.qvacua.release.token) github-release release \
--user qvacua \
@ -18,7 +24,7 @@ GITHUB_TOKEN=$(cat ~/.config/github.qvacua.release.token) github-release release
--tag "${TAG}" \
--name "${COMPOUND_VERSION}" \
--description "${RELEASE_NOTES}" \
--pre-release
"${PRERELEASE}"
echo "### Uploading build"
GITHUB_TOKEN=$(cat ~/.config/github.qvacua.release.token) github-release upload \