Skip to content

Commit

Permalink
Merge pull request #381 from adrian-goe/use_git_ref_name
Browse files Browse the repository at this point in the history
User github.ref_name
  • Loading branch information
adrian-goe authored Nov 19, 2022
2 parents 304fe8c + d69f1c8 commit ce55503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
CI: true

- name: Set Version
run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref }}
run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref_name }}

- name: build
run: npm run build:aws-cdk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
CI: true

- name: Set Version
run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref }}
run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref_name }}

- name: build
run: npm run build:aws-cdk
Expand Down

0 comments on commit ce55503

Please sign in to comment.