Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbalogh committed Mar 1, 2021
1 parent 93f7411 commit 0d6b0b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ jobs:
const fs = require('fs').promises;
const { repo: { owner, repo }, sha } = context;
console.log({ owner, repo, sha });
const tag = process.env.GITHUB_REF.split('/').slice(-1)[0];
const release = await github.repos.createRelease({
owner, repo,
tag_name: process.env.GITHUB_REF,
draft: true,
tag_name: tag,
draft: false,
prerelease: false,
target_commitish: sha
});
Expand Down

0 comments on commit 0d6b0b7

Please sign in to comment.