Commit 7822c90d authored by echel0n's avatar echel0n
Browse files

Fixed issue with CI script

parent ca376ecf
......@@ -116,7 +116,7 @@ release:build:master:
- yarn run build
- python checksum-generator.py
- git add --all
- git commit -m "[TASK] Releasing v$(cat sickrage/version.txt) [ci-skip]"
- git commit -m "[TASK] Releasing v$(cat sickrage/version.txt)"
- git fetch . release-$(cat sickrage/version.txt):master
- git fetch . release-$(cat sickrage/version.txt):develop
- git tag -a $(cat sickrage/version.txt) -m "Release v$(cat sickrage/version.txt) master"
......@@ -125,7 +125,7 @@ release:build:master:
- bumpversion --allow-dirty patch package.json sickrage/version.txt
- python checksum-generator.py
- git add --all
- git commit -m "[TASK] Bump develop branch to v$(cat sickrage/version.txt) [ci-skip]"
- git commit -m "[TASK] Bump develop branch to v$(cat sickrage/version.txt)"
- git push https://$GIT_ACCESS_USER:[email protected]$CI_SERVER_HOST/$CI_PROJECT_PATH.git HEAD:develop --follow-tags
when: manual
only:
......@@ -134,8 +134,8 @@ release:build:master:
refs:
- branches
- triggers
# variables:
# - $CI_COMMIT_MESSAGE =~ /\[TASK\] Releasing/
variables:
- $CI_COMMIT_MESSAGE =~ /\[TASK\] Releasing/
release:build:develop:
stage: release_build
......@@ -159,7 +159,7 @@ release:build:develop:
- git config --global user.email $(git --no-pager show -s --format='%ae' HEAD)
- git config --global user.name $(git --no-pager show -s --format='%an' HEAD)
- git add --all
- git commit -m "[TASK] Pre-Releasing v$(cat sickrage/version.txt) [ci-skip]"
- git commit -m "[TASK] Pre-Releasing v$(cat sickrage/version.txt)"
- git tag -a $(cat sickrage/version.txt) -m "Pre-release v$(cat sickrage/version.txt)"
- git push https://$GIT_ACCESS_USER:[email protected]$CI_SERVER_HOST/$CI_PROJECT_PATH.git HEAD:$CI_COMMIT_REF_NAME --follow-tags
only:
......@@ -168,9 +168,9 @@ release:build:develop:
refs:
- tags
- triggers
# variables:
# - $CI_COMMIT_MESSAGE =~ /\[TASK\] Pre-Releasing/
# - $CI_COMMIT_MESSAGE =~ /\[TASK\] Bump/
variables:
- $CI_COMMIT_MESSAGE =~ /\[TASK\] Pre-Releasing/
- $CI_COMMIT_MESSAGE =~ /\[TASK\] Bump/
release:sentry:master:
stage: release_sentry
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment