Skip to content

Commit 7767720

Browse files
ci: remove check and update version
1 parent a22aa79 commit 7767720

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,6 @@ jobs:
5151
- name: Login NPM
5252
run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
5353

54-
- name: Check and Update Version
55-
run: |
56-
CURRENT_VERSION=$(node -p "require('./package.json').version")
57-
echo "Current version in package.json: ${CURRENT_VERSION}"
58-
59-
while npm info react-native-linear-gradient-text@${CURRENT_VERSION} > /dev/null 2>&1; do
60-
echo "Version ${CURRENT_VERSION} already exists on NPM. Incrementing version..."
61-
yarn version --patch --no-git-tag-version
62-
CURRENT_VERSION=$(node -p "require('./package.json').version")
63-
done
64-
65-
echo "Version ${CURRENT_VERSION} is available. Ready for release."
66-
6754
- name: Release
6855
run: yarn release
6956
env:

0 commit comments

Comments
 (0)