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 b91e0a7 commit 9433878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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,9 +47,9 @@ jobs:
if [ "${{ inputs.channel }}" == "production" ]; then
echo "Publishing a production release: $curr_version"
pnpm publish --access public --no-git-checks
pnpm run publish
elif [ "${{ inputs.channel }}" == "beta" ]; then
echo "Publishing a beta release: $version"
pnpm --filter '@expediagroup/lodging-connectivity-sdk' version "$version" --allow-same-version
pnpm publish --access public --tag beta --no-git-checks
pnpm run publish-beta
fi
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"files": ["dist"],
"scripts": {
"build": "rollup -c ../rollup.config.js --bundleConfigAsCjs",
"publish": "pnpm run clean && pnpm run build && cd dist && pnpm publish --access public",
"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",
"clean": "rimraf dist",
"dev": "ts-node src/index.ts",
"test": "jest",
Expand Down

0 comments on commit 9433878

Please sign in to comment.