Skip to content

Commit

Permalink
chore: update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Sep 17, 2024
1 parent 4f0edec commit 14821e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
if [ "${{ inputs.channel }}" == "production" ]; then
echo "Publishing a production release: $version"
pnpm run publish
pnpm run publish:prod
elif [ "${{ inputs.channel }}" == "beta" ]; then
echo "Publishing a beta release: $version"
pnpm run publish-beta
pnpm run publish:beta
fi
6 changes: 3 additions & 3 deletions code/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@expediagroup/lodging-connectivity-sdk",
"version": "0.0.4-beta",
"version": "0.0.5-beta",
"files": ["dist"],
"scripts": {
"build": "rollup -c ../rollup.config.js --bundleConfigAsCjs",
"publish": "pnpm run clean && pnpm run build && cd dist && pnpm publish --access public --no-git-checks",
"publish-beta": "pnpm run clean && pnpm run build && cd dist && pnpm publish --access public --tag beta --no-git-checks",
"publish:prod": "pnpm run clean && pnpm run build && cd dist && pnpm publish --access public --no-git-checks",
"publish:beta": "pnpm run clean && pnpm run build && cd dist && pnpm publish --access public --tag beta --no-git-checks",
"clean": "rimraf dist",
"dev": "ts-node src/index.ts",
"test": "jest",
Expand Down

0 comments on commit 14821e3

Please sign in to comment.