Skip to content

Commit

Permalink
User github.ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Görisch committed Nov 19, 2022
1 parent eb34618 commit d69f1c8
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 d69f1c8

Please sign in to comment.