aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-25 15:26:01 +0100
committerAleksey Kladov <[email protected]>2020-05-25 15:26:01 +0100
commit5e66045a21aa575b2712eee56e7ebdd90965260f (patch)
treea02d2f2381bc057189fdf46b4e5052c4afb226e1
parent30f058dfea5d3b8ec558e49967787927752364aa (diff)
Try fixing release tags
closes #4319
-rw-r--r--.github/actions/github-release/main.js2
-rw-r--r--.github/workflows/release.yaml3
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js
index 2c7eedbe2..b499cd0fd 100644
--- a/.github/actions/github-release/main.js
+++ b/.github/actions/github-release/main.js
@@ -16,7 +16,7 @@ async function runOnce() {
16 const slug = process.env.GITHUB_REPOSITORY; 16 const slug = process.env.GITHUB_REPOSITORY;
17 const owner = slug.split('/')[0]; 17 const owner = slug.split('/')[0];
18 const repo = slug.split('/')[1]; 18 const repo = slug.split('/')[1];
19 const sha = process.env.GITHUB_SHA; 19 const sha = process.env.HEAD_SHA;
20 20
21 core.info(`files: ${files}`); 21 core.info(`files: ${files}`);
22 core.info(`name: ${name}`); 22 core.info(`name: ${name}`);
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 29ac89549..11c6f0ac3 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -88,6 +88,9 @@ jobs:
88 - name: Checkout repository 88 - name: Checkout repository
89 uses: actions/checkout@v2 89 uses: actions/checkout@v2
90 90
91 - run: echo "::set-env name=HEAD_SHA::$(git rev-parse HEAD)"
92 - run: 'echo "HEAD_SHA: $HEAD_SHA"'
93
91 - uses: actions/download-artifact@v1 94 - uses: actions/download-artifact@v1
92 with: 95 with:
93 name: dist-macos-latest 96 name: dist-macos-latest