mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-06-16 23:54:13 +00:00
Merge pull request #91 from DeBrosDAO/nightly
ci(publish-sdk): allow same-version on npm bump
This commit is contained in:
commit
b13948d15a
8
.github/workflows/publish-sdk.yml
vendored
8
.github/workflows/publish-sdk.yml
vendored
@ -61,9 +61,13 @@ jobs:
|
||||
if [ "${{ github.event_name }}" = "release" ]; then
|
||||
VERSION="${{ github.event.release.tag_name }}"
|
||||
VERSION="${VERSION#v}"
|
||||
npm version "$VERSION" --no-git-tag-version
|
||||
# --allow-same-version: when /VERSION was already bumped on the
|
||||
# source branch before tagging, package.json may already match
|
||||
# the tag. npm version errors as 'Version not changed' without
|
||||
# this flag.
|
||||
npm version "$VERSION" --no-git-tag-version --allow-same-version
|
||||
elif [ -n "${{ inputs.version }}" ]; then
|
||||
npm version ${{ inputs.version }} --no-git-tag-version
|
||||
npm version ${{ inputs.version }} --no-git-tag-version --allow-same-version
|
||||
fi
|
||||
|
||||
- name: Typecheck
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user