mirror of
https://github.com/ProtonMail/protoncore_android.git
synced 2026-05-15 09:50:41 +00:00
ci: Set a proper branch when pushing updated changelog.
This commit is contained in:
@@ -66,13 +66,10 @@ function prepare_new_release() {
|
||||
update_remote_origin_url
|
||||
update_changelog
|
||||
|
||||
local source_branch
|
||||
source_branch=$(git rev-parse --symbolic-full-name HEAD)
|
||||
|
||||
git add CHANGELOG.md
|
||||
git commit -m "docs: Updated Changelog for version $NEXT_VERSION."
|
||||
|
||||
git push origin "$source_branch" -o ci.skip
|
||||
git push origin "HEAD:$CI_COMMIT_REF_NAME" -o ci.skip
|
||||
|
||||
#git checkout -b "$RELEASE_BRANCH"
|
||||
#git push origin "$RELEASE_BRANCH"
|
||||
|
||||
Reference in New Issue
Block a user