Skip to content

Commit

Permalink
fix: capture new version number from package.json
Browse files Browse the repository at this point in the history
* fix: support latest/latest-rc release for sf

@W-10008913@
  • Loading branch information
peternhale authored Oct 26, 2021
1 parent a295a8c commit 5229179
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
18 changes: 15 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ jobs:
- run: yarn pack:verify
- run: yarn test:smoke-unix
- run: yarn upload:tarballs
- run: yarn channel:promote --cli sf --sha $CIRCLE_SHA1 --target stable-rc --platform deb
- run:
name: Promote linux to stable-rc channel
command: |
VERSION=$(node -p -e "require('./package.json').version")
yarn channel:promote --cli sf --version $VERSION --target stable-rc --platform deb
pack-and-upload-macos-installer:
macos:
Expand All @@ -66,7 +70,11 @@ jobs:
- run: yarn install
- run: yarn pack:macos
- run: yarn upload:macos
- run: yarn channel:promote --cli sf --sha $CIRCLE_SHA1 --target stable-rc --platform macos
- run:
name: Promote macos to stable-rc channel
command: |
VERSION=$(node -p -e "require('./package.json').version")
yarn channel:promote --cli sf --version $VERSION --target stable-rc --platform macos
pack-and-upload-windows-installer:
<<: *pack-and-upload-tarballs
Expand All @@ -86,7 +94,11 @@ jobs:
echo $WINDOWS_SIGNING_KEY | base64 --decode > /tmp/windows-signing.pfx
- run: yarn pack:win
- run: yarn upload:win
- run: yarn channel:promote --cli sf --sha $CIRCLE_SHA1 --target stable-rc --platform win
- run:
name: Promote windows to stable-rc channel
command: |
VERSION=$(node -p -e "require('./package.json').version")
yarn channel:promote --cli sf --version $VERSION --target stable-rc --platform win
promote-channels:
docker:
- image: node:lts
Expand Down
24 changes: 8 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,69 +4,61 @@ All notable changes to this project will be documented in this file. See [standa

### [1.1.1](https://github.com/salesforcecli/cli/compare/v1.1.0...v1.1.1) (2021-10-26)


### Bug Fixes

* support latest-rc releases ([#78](https://github.com/salesforcecli/cli/issues/78)) ([526f503](https://github.com/salesforcecli/cli/commit/526f503ebf6610eac9ec23448b98f82a29a1b04c))
- support latest-rc releases ([#78](https://github.com/salesforcecli/cli/issues/78)) ([526f503](https://github.com/salesforcecli/cli/commit/526f503ebf6610eac9ec23448b98f82a29a1b04c))

## [1.1.0](https://github.com/salesforcecli/cli/compare/v1.0.7...v1.1.0) (2021-10-20)

### [1.0.7](https://github.com/salesforcecli/cli/compare/v1.0.6...v1.0.7) (2021-10-14)


### Bug Fixes

* bump deps ([#76](https://github.com/salesforcecli/cli/issues/76)) ([26b59c6](https://github.com/salesforcecli/cli/commit/26b59c638fff4b301f615bdc8c1d21247a14b691))
- bump deps ([#76](https://github.com/salesforcecli/cli/issues/76)) ([26b59c6](https://github.com/salesforcecli/cli/commit/26b59c638fff4b301f615bdc8c1d21247a14b691))

### [1.0.6](https://github.com/salesforcecli/cli/compare/v1.0.5...v1.0.6) (2021-10-12)

### [1.0.5](https://github.com/salesforcecli/cli/compare/v1.0.4...v1.0.5) (2021-10-07)

### [1.0.4](https://github.com/salesforcecli/cli/compare/v1.0.3...v1.0.4) (2021-10-06)


### Bug Fixes

* bump deps [skip-validate-pr] ([#75](https://github.com/salesforcecli/cli/issues/75)) ([2b8446c](https://github.com/salesforcecli/cli/commit/2b8446ceaabb62711ebc9b5c5c191083deee17fa))
- bump deps [skip-validate-pr] ([#75](https://github.com/salesforcecli/cli/issues/75)) ([2b8446c](https://github.com/salesforcecli/cli/commit/2b8446ceaabb62711ebc9b5c5c191083deee17fa))

### [1.0.3](https://github.com/salesforcecli/cli/compare/v1.0.2...v1.0.3) (2021-10-05)


### Bug Fixes

* use dirname in oclif config ([9604e53](https://github.com/salesforcecli/cli/commit/9604e53b0cd9164ad7e4c8b83383b38e393a6d72))
- use dirname in oclif config ([9604e53](https://github.com/salesforcecli/cli/commit/9604e53b0cd9164ad7e4c8b83383b38e393a6d72))

### [1.0.2](https://github.com/salesforcecli/cli/compare/v1.0.1...v1.0.2) (2021-10-01)


### Bug Fixes

* revert inquirer dep that references github url ([#72](https://github.com/salesforcecli/cli/issues/72)) ([2d86a0c](https://github.com/salesforcecli/cli/commit/2d86a0ca1112bb95c27de8d2721db98f05192b76))
- revert inquirer dep that references github url ([#72](https://github.com/salesforcecli/cli/issues/72)) ([2d86a0c](https://github.com/salesforcecli/cli/commit/2d86a0ca1112bb95c27de8d2721db98f05192b76))

### [1.0.1](https://github.com/salesforcecli/cli/compare/v1.0.0...v1.0.1) (2021-09-30)


### Bug Fixes

* bump versions for v1 [skip-validate-pr] ([#69](https://github.com/salesforcecli/cli/issues/69)) ([b808dfd](https://github.com/salesforcecli/cli/commit/b808dfdfb37f42d73b4f88d76927ef6019e86890))
- bump versions for v1 [skip-validate-pr] ([#69](https://github.com/salesforcecli/cli/issues/69)) ([b808dfd](https://github.com/salesforcecli/cli/commit/b808dfdfb37f42d73b4f88d76927ef6019e86890))

## [1.0.0](https://github.com/salesforcecli/cli/compare/v0.0.47...v1.0.0) (2021-09-30)

### [0.0.47](https://github.com/salesforcecli/cli/compare/v0.0.46...v0.0.47) (2021-09-30)

### [0.0.46](https://github.com/salesforcecli/cli/compare/v0.0.45...v0.0.46) (2021-09-29)


### Bug Fixes

* add plugin-generate ([#63](https://github.com/salesforcecli/cli/issues/63)) ([cc4f91d](https://github.com/salesforcecli/cli/commit/cc4f91d66eba9d9cf50e216f4ce39ada4af22e21))
- add plugin-generate ([#63](https://github.com/salesforcecli/cli/issues/63)) ([cc4f91d](https://github.com/salesforcecli/cli/commit/cc4f91d66eba9d9cf50e216f4ce39ada4af22e21))

### [0.0.45](https://github.com/salesforcecli/cli/compare/v0.0.44...v0.0.45) (2021-09-29)


### Bug Fixes

* install sf-release for maybe-halt ([#64](https://github.com/salesforcecli/cli/issues/64)) ([196ea50](https://github.com/salesforcecli/cli/commit/196ea50f8d37e766fef213d9b947981c37a5308c))
- install sf-release for maybe-halt ([#64](https://github.com/salesforcecli/cli/issues/64)) ([196ea50](https://github.com/salesforcecli/cli/commit/196ea50f8d37e766fef213d9b947981c37a5308c))

### [0.0.44](https://github.com/salesforcecli/cli/compare/v0.0.43...v0.0.44) (2021-09-29)

Expand Down

0 comments on commit 5229179

Please sign in to comment.