Skip to content

Commit

Permalink
feat: Publish sdk to GH Actions Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Oct 5, 2023
1 parent 9bcc3b1 commit 809351f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/npm_publish_light.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
currentVersion=$(npm version | yq .$selectNodeName)
currentSha=$(git rev-parse --short HEAD)
newVersion="$currentVersion-$currentSha"
echo "DEBUG: selectNodeName=$selectNodeName"
echo "DEBUG: currentVersion=$currentVersion"
echo "DEBUG: currentSha=$currentSha"
echo "DEBUG: newVersion=$newVersion"
echo "D: selectNodeName=$selectNodeName"
echo "D: currentVersion=$currentVersion"
echo "D: currentSha=$currentSha"
echo "D: newVersion=$newVersion"
npm version $newVersion
echo "SDK_JS_PACKAGE_VERSION=$newVersion" >> "$GITHUB_OUTPUT"
echo ""
Expand All @@ -78,15 +78,15 @@ jobs:
echo "Building SDK Client"
cd ${{ matrix.settings.dirSdkJsClient }}
pwd
ls -l
ls -lah
npm install "$SDK_JS_PACKAGE_NAME@$SDK_JS_PACKAGE_VERSION" --foreground-scripts
selectNodeName=${{ env.SDK_CLIENT_PACKAGE_NAME }}
currentVersion=$(npm version | yq .$selectNodeName)
currentSha=$(git rev-parse --short HEAD)
newVersion="$currentVersion-$currentSha"
echo "DEBUG: selectNodeName=$selectNodeName"
echo "DEBUG: currentVersion=$currentVersion"
echo "DEBUG: currentSha=$currentSha"
echo "DEBUG: newVersion=$newVersion"
echo "D: selectNodeName=$selectNodeName"
echo "D: currentVersion=$currentVersion"
echo "D: currentSha=$currentSha"
echo "D: newVersion=$newVersion"
npm version $newVersion
echo ""

0 comments on commit 809351f

Please sign in to comment.