Skip to content

Commit

Permalink
Merge pull request #39 from geoadmin/develop
Browse files Browse the repository at this point in the history
New Release v1.2.1 - #patch
  • Loading branch information
ltshb authored Dec 2, 2021
2 parents 57f958c + aece57a commit cf7ca65
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- develop
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "action-milestone-tag",
"version": "1.2.0",
"version": "1.2.1",
"private": true,
"description": "Github action to tag the repository with the milestone title",
"main": "lib/main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default async function action(): Promise<void> {
if (!GITHUB_SHA) {
throw Error('GITHUB_SHA environment variable not defined')
}
createTag(newTag, GITHUB_SHA)
await createTag(newTag, GITHUB_SHA)
core.setOutput('tag_created', true)
}
}
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import action from './action'

async function run(): Promise<void> {
try {
action()
await action()
} catch (error) {
if (error instanceof Error) {
core.setFailed(error.message)
Expand Down

0 comments on commit cf7ca65

Please sign in to comment.