[CI/CD] Just remove the sync-stable-branch step.

This commit is contained in:
Fabio Manganiello 2024-05-26 01:46:04 +02:00
parent cc670f9d4a
commit bef027fc07
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 0 additions and 42 deletions

View file

@ -29,29 +29,6 @@ steps:
commands:
- . .drone/github-mirror.sh
###
### Synchronize the `stable` branch to the new release
###
- name: sync-stable-branch
image: alpine
environment:
SSH_PUBKEY:
from_secret: ssh_pubkey
SSH_PRIVKEY:
from_secret: ssh_privkey
PGP_KEY:
from_secret: pgp_key
PGP_KEY_ID:
from_secret: pgp_key_id
commands:
- . .drone/sync-stable-branch.sh
when:
event:
- tag
###
### Rebuild the docs
###

View file

@ -1,19 +0,0 @@
#!/bin/sh
. .drone/macros/configure-git.sh
. .drone/macros/configure-ssh.sh
. .drone/macros/configure-gpg.sh
# Git configuration
git remote rm origin
git remote add origin git@git.platypush.tech:platypush/platypush.git
git fetch origin
# Merge and push to the `stable` branch
git checkout stable || git checkout -b stable
git rebase master
git push -u origin stable
git checkout master
# Restore the original git configuration
mv "$TMP_GIT_CONF" "$GIT_CONF"