Skip to content

Commit

Permalink
Create new version
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangelmorenochacon committed Jul 1, 2024
1 parent 7dbd81b commit df667e5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,14 @@ jobs:
console.log(`Release type: ${releaseType}`)
return releaseType
- name: Configure yarn to publish
- name: Create the new package version
if: startsWith(github.ref, 'refs/tags/')
env:
RELEASE_TAG: ${{ steps.check-tag-format.outputs.version }}
run: |
yarn version --no-git-tag-version --new-version "${RELEASE_TAG}"
- name: Configure yarn to publish packages
if: startsWith(github.ref, 'refs/tags/')
env:
# The following token has been manually issued in the CartoDB
Expand All @@ -98,7 +105,7 @@ jobs:
yarn config set npmPublishRegistry "https://registry.npmjs.org/"
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
- name: Publish release
- name: Publish package
if: startsWith(github.ref, 'refs/tags/')
env:
# The following token has been manually issued in the CartoDB
Expand Down

0 comments on commit df667e5

Please sign in to comment.