Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 23f7594

Browse files
authored
Backport Actions fixes (#894)
1 parent 9d76eec commit 23f7594

3 files changed

Lines changed: 7 additions & 77 deletions

File tree

.github/workflows/branch_deploy.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.github/workflows/deploy_snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- develop
55

66
name: Deploy snapshot builds
77
jobs:

.github/workflows/draft_new_release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13+
with:
14+
ref: 'release'
1315
- name: Extract version from milestone
1416
run: |
1517
VERSION="${{ github.event.milestone.title }}"
1618
echo "::set-env name=RELEASE_VERSION::$VERSION"
1719
1820
- name: Create release branch
19-
run: git checkout -b release/${{ env.RELEASE_VERSION }}
21+
run: git checkout -b release-${{ env.RELEASE_VERSION }}
2022

2123
- name: Update changelog
2224
uses: thomaseizinger/keep-a-changelog-new-release@1.1.0
@@ -34,12 +36,12 @@ jobs:
3436
git commit --message "Prepare release ${{ env.RELEASE_VERSION }}"
3537
3638
- name: Push new branch
37-
run: git push origin release/${{ env.RELEASE_VERSION }}
39+
run: git push origin release-${{ env.RELEASE_VERSION }}
3840

3941
- name: Create pull request
4042
uses: thomaseizinger/create-pull-request@1.0.0
4143
with:
4244
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
head: release/${{ env.RELEASE_VERSION }}
44-
base: master
45+
head: release-${{ env.RELEASE_VERSION }}
46+
base: release
4547
title: Release ${{ env.RELEASE_VERSION }}

0 commit comments

Comments
 (0)