diff --git a/.github/workflows/release-sdk.yaml b/.github/workflows/release-sdk.yaml index d6ea7ca..990b44e 100644 --- a/.github/workflows/release-sdk.yaml +++ b/.github/workflows/release-sdk.yaml @@ -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 diff --git a/code/package.json b/code/package.json index 295ea65..c921173 100644 --- a/code/package.json +++ b/code/package.json @@ -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",