Skip to content

Commit a220d85

Browse files
author
github-actions
committed
wip
--- Signed-off-by: github-actions <[email protected]> Signed-off-by: github-actions <[email protected]>
1 parent ecc7815 commit a220d85

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/postrelease.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,20 @@ jobs:
5656
runs-on: ubuntu-latest
5757
env:
5858
GH_TOKEN: ${{ github.token }}
59-
PAT: ${{ secrets.PAT_WORKSPACE_REPO }}
59+
WORKSPACE_REPO: https://${{ secrets.PAT_WORKSPACE_REPO }}@github.com/bndtools/bnd.git
60+
V1: ${{ github.event.inputs.V1 }}
6061

6162
steps:
62-
- name: Git Checkout
63-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
64-
with:
65-
repository: bndtools/workspace
66-
ref: master
6763
- name: create branch for templates
6864
run: |
69-
export v=`echo ${{ github.event.inputs.V1 }} | awk -F. '{print $1"."$2}'`
65+
export v=`echo $V1 | awk -F. '{print $1"."$2}'`
7066
echo $v
7167
git config user.name github-actions
7268
git config user.email [email protected]
69+
git clone $WORKSPACE_REPO
7370
git checkout -B $v
74-
git push https://${{ secrets.PAT_WORKSPACE_REPO }}@github.com/bndtools/bnd.git --force
71+
git push --force $WORKSPACE_REPO $v
72+
7573
7674
finalize-master:
7775
needs: [release-doc-generate, create-workspace-template]

0 commit comments

Comments
 (0)