We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0e937 commit 0db1481Copy full SHA for 0db1481
.github/workflows/release.yml
@@ -27,6 +27,13 @@ jobs:
27
28
- name: Install Dependencies
29
run: yarn
30
+
31
+ - name: set version variables
32
+ id: vars
33
+ shell: bash
34
+ run: |
35
+ echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
36
+ echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
37
38
- name: Create Release Pull Request or Publish to npm
39
id: changesets
@@ -39,4 +46,4 @@ jobs:
46
githubReleaseName: "Release ${{ steps.vars.outputs.sha_short }} (from ${{ steps.vars.outputs.branch }})"
40
47
env:
41
48
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
49
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments