Skip to content

Commit

Permalink
Merge pull request #776 from appwrite/fix-web-node-travis
Browse files Browse the repository at this point in the history
Update node and web checks to be case insensitive
  • Loading branch information
lohanidamodar authored Mar 20, 2024
2 parents 29844ac + c131efd commit 133e1b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/node/.travis.yml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_js:
jobs:
include:
- stage: NPM RC Release
if: tag == *-rc*
if: tag =~ /-(rc|RC)/
node_js: "14.16"
script: echo "Deploying RC to NPM..."
deploy:
Expand All @@ -14,7 +14,7 @@ jobs:
api_key: $NPM_API_KEY
tag: next
- stage: NPM Release
if: tag != *-rc*
if: not tag =~ /-(rc|RC)/
node_js: "14.16"
script: echo "Deploying to NPM..."
deploy:
Expand Down
4 changes: 2 additions & 2 deletions templates/web/.travis.yml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_js:
jobs:
include:
- stage: NPM RC Release
if: tag == *-rc*
if: tag =~ /-(rc|RC)/
node_js: "14.16"
script:
- npm install
Expand All @@ -17,7 +17,7 @@ jobs:
api_key: $NPM_API_KEY
tag: next
- stage: NPM Release
if: tag != *-rc*
if: not tag =~ /-(rc|RC)/
node_js: "14.16"
script:
- npm install
Expand Down

0 comments on commit 133e1b1

Please sign in to comment.