Skip to content

Commit

Permalink
fix(cicd): fix path to package
Browse files Browse the repository at this point in the history
  • Loading branch information
sfopsbot committed Dec 15, 2023
1 parent f82a456 commit d7b4ca9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
uses: ./.github/workflows/promotePackage.yml
with:
version: 'alpha'
pathToPackageJson: 'packages/sfpowerscripts-cli/package.json'
pathToPackageJson: 'packages/sfp-cli/package.json'
environment: sfpowerscripts-alpha
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
uses: ./.github/workflows/promotePackage.yml
with:
version: 'beta'
pathToPackageJson: 'packages/sfpowerscripts-cli/package.json'
pathToPackageJson: 'packages/sfp-cli/package.json'
environment: sfpowerscripts-beta
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
uses: ./.github/workflows/promotePackage.yml
with:
version: 'latest'
pathToPackageJson: 'packages/sfpowerscripts-cli/package.json'
pathToPackageJson: 'packages/sfp-cli/package.json'
environment: sfpowerscripts-prod
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sfpowerscripts-build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:

- name: 'Get package version and name'
run: |
echo "PKG_VERSION=$(jq -r ".version" packages/sfpowerscripts-cli/package.json)" >> $GITHUB_ENV
RELEASE_NAME=$(jq -r ".release" packages/sfpowerscripts-cli/package.json)
echo "PKG_VERSION=$(jq -r ".version" packages/sfp-cli/package.json)" >> $GITHUB_ENV
RELEASE_NAME=$(jq -r ".release" packages/sfp-cli/package.json)
RELEASE_NAME_AS_ARRAY=($RELEASE_NAME)
RELEASE_NAME=$(echo ${RELEASE_NAME_AS_ARRAY[0]} | cut -c1-3)${RELEASE_NAME_AS_ARRAY[1]}
echo "RELEASE_NAME=release-$RELEASE_NAME" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sfpowerscripts-copy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:

- name: 'Get package version'
run: |
echo "PKG_VERSION=$(jq -r ".version" packages/sfpowerscripts-cli/package.json)" >> $GITHUB_ENV
RELEASE_NAME=$(jq -r ".release" packages/sfpowerscripts-cli/package.json)
echo "PKG_VERSION=$(jq -r ".version" packages/sfp-cli/package.json)" >> $GITHUB_ENV
RELEASE_NAME=$(jq -r ".release" packages/sfp-cli/package.json)
RELEASE_NAME_AS_ARRAY=($RELEASE_NAME)
RELEASE_NAME=$(echo ${RELEASE_NAME_AS_ARRAY[0]} | cut -c1-3)${RELEASE_NAME_AS_ARRAY[1]}
echo "RELEASE_NAME=release-$RELEASE_NAME" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sfpowerscripts-promote-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:

- name: 'Get package version'
run: |
echo "PKG_VERSION=$(jq -r ".version" packages/sfpowerscripts-cli/package.json)" >> $GITHUB_ENV
RELEASE_NAME=$(jq -r ".release" packages/sfpowerscripts-cli/package.json)
echo "PKG_VERSION=$(jq -r ".version" packages/sfp-cli/package.json)" >> $GITHUB_ENV
RELEASE_NAME=$(jq -r ".release" packages/sfp-cli/package.json)
RELEASE_NAME_AS_ARRAY=($RELEASE_NAME)
RELEASE_NAME=$(echo ${RELEASE_NAME_AS_ARRAY[0]} | cut -c1-3)${RELEASE_NAME_AS_ARRAY[1]}
echo "RELEASE_NAME=release-$RELEASE_NAME" >> $GITHUB_ENV
Expand Down

0 comments on commit d7b4ca9

Please sign in to comment.