Skip to content

Commit

Permalink
Finish out release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Oct 10, 2024
1 parent 996b903 commit 8a14887
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/windows-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ on:
release:
types:
- published
pull_request:
branches:
- "*"

# NOTE: this is a separate workflow because
# the version-setting relies on environment variables,
Expand All @@ -23,12 +20,12 @@ jobs:
- run: yarn install --ignore-engines
- name: Write release version
run: |
$env:GITHUB_REF_NAME = "v1.0.0"
$env:GITHUB_REF_NAME
$env:GITHUB_REF_NAME -match "v(?<version>.*)"
$VERSION=$Matches['version']
"Version: $VERSION"
$env:GITHUB_ENV += "\nVERSION=$VERSION"
- run: "npm version 1.0.0 --no-git-tag-version"
- run: "npm version ${VERSION} --no-git-tag-version"
- name: Publish
run: yarn deploy
env:
Expand Down

0 comments on commit 8a14887

Please sign in to comment.