mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-09 05:58:31 +08:00
Tweak release title
This commit is contained in:
@@ -15,7 +15,7 @@ script:
|
||||
before_deploy:
|
||||
# Add tag if missing
|
||||
- if [ -z "$TRAVIS_TAG" ]; then
|
||||
export TRAVIS_TAG=nightly-$COMMIT_ID RELEASE_TITLE=$(date +'%Y%m%d')-$COMMIT_ID &&
|
||||
export TRAVIS_TAG=nightly-$COMMIT_ID RELEASE_TITLE=$(date +'%Y%m%d-%H%M%S') RELEASE_FILE=qb-web-$RELEASE_TITLE.zip &&
|
||||
git tag $TRAVIS_TAG &&
|
||||
echo tagged as $TRAVIS_TAG;
|
||||
fi
|
||||
@@ -23,12 +23,12 @@ before_deploy:
|
||||
# see https://github.com/qbittorrent/qBittorrent/pull/10485, fixed in qb v4.2.0
|
||||
- cp dist/public/{index,login}.html
|
||||
- cp INSTALL.md dist
|
||||
- zip -r dist.zip dist
|
||||
- zip -r $RELEASE_FILE dist
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
file: dist.zip
|
||||
file: $RELEASE_FILE
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
prerelease: true
|
||||
|
||||
Reference in New Issue
Block a user