We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea82333 commit 38f19bfCopy full SHA for 38f19bf
.github/workflows/release.yaml
@@ -19,15 +19,12 @@ jobs:
19
20
- name: Checkout code
21
uses: actions/checkout@v4
22
-
23
- - name: Configure git to use the token
24
- run: |
25
- git remote set-url origin https://${{ steps.generate-github-token.outputs.token }}@github.com/${{ github.repository }}.git
+ ref: main
+ token: ${{ steps.generate-github-token.outputs.token }}
26
27
- name: Bump version in plugin.yaml
28
run: |
29
VERSION=$(echo ${GITHUB_REF#refs/tags/})
30
- git checkout main
31
sed -i "s/version:.*/version: $VERSION/" plugin.yaml
32
git config --global user.name 'github-actions'
33
git config --global user.email 'github-actions@github.com'
0 commit comments