diff --git a/.drone.yml b/.drone.yml index bf048d47b..336058f67 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ### diff --git a/.drone/sync-stable-branch.sh b/.drone/sync-stable-branch.sh deleted file mode 100755 index 7245652d0..000000000 --- a/.drone/sync-stable-branch.sh +++ /dev/null @@ -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"