Skip to content

Commit

Permalink
Fix release deployment and bump VERSION to RC3 (#814)
Browse files Browse the repository at this point in the history
## Usage and product changes

We introduce a separate artifact group for Linux .deb packages to avoid
collisions in the upstream repository. We also fix filename references
when deploying to our brew tap.
  • Loading branch information
dmitrii-ubskii authored Feb 8, 2024
1 parent 9b82d28 commit e8a8a3c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
- deploy-mac-release:
target-arch: arm64
- run: |
mkdir -p ~/dist && cp bazel-bin/typedb-studio-mac-arm64-*.dmg ~/dist
mkdir -p ~/dist && cp bazel-bin/typedb-studio-mac-arm64.dmg ~/dist
- persist_to_workspace:
root: ~/dist
paths:
Expand All @@ -183,7 +183,7 @@ jobs:
- deploy-mac-release:
target-arch: x86_64
- run: |
mkdir -p ~/dist && cp bazel-bin/typedb-studio-mac-x86_64-*.dmg ~/dist
mkdir -p ~/dist && cp bazel-bin/typedb-studio-mac-x86_64.dmg ~/dist
- persist_to_workspace:
root: ~/dist
paths:
Expand Down Expand Up @@ -237,8 +237,8 @@ jobs:
- install-bazel-linux-x86_64
- run: |
export DEPLOY_BREW_TOKEN=$REPO_GITHUB_TOKEN DEPLOY_BREW_USERNAME=$REPO_GITHUB_USERNAME DEPLOY_BREW_EMAIL=$REPO_GITHUB_EMAIL
sha256sum ~/dist/typedb-studio-mac-arm64-$(cat VERSION).dmg | awk '{print $1}' > checksum-arm64
sha256sum ~/dist/typedb-studio-mac-x86_64-$(cat VERSION).dmg | awk '{print $1}' > checksum-x86_64
sha256sum ~/dist/typedb-studio-mac-arm64.dmg | awk '{print $1}' > checksum-arm64
sha256sum ~/dist/typedb-studio-mac-x86_64.dmg | awk '{print $1}' > checksum-x86_64
bazel run --define version=$(cat VERSION) //:deploy-brew --//:checksum-mac-arm64=:checksum-arm64 --//:checksum-mac-x86_64=:checksum-x86_64 --compilation_mode=opt -- release
release-cleanup:
Expand Down
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ deploy_artifact(
deploy_artifact(
name = "deploy-linux-x86_64-deb",
target = ":native-artifact-linux-x86_64-deb",
artifact_group = "typedb-studio-linux-x86_64",
artifact_group = "typedb-studio-linux-x86_64-deb",
artifact_name = "typedb-studio-linux-x86_64-{version}.deb",
snapshot = deployment['artifact']['snapshot']['upload'],
release = deployment['artifact']['release']['upload'],
Expand All @@ -290,7 +290,7 @@ deploy_artifact(
deploy_artifact(
name = "deploy-linux-arm64-deb",
target = ":native-artifact-linux-arm64-deb",
artifact_group = "typedb-studio-linux-arm64",
artifact_group = "typedb-studio-linux-arm64-deb",
artifact_name = "typedb-studio-linux-arm64-{version}.deb",
snapshot = deployment['artifact']['snapshot']['upload'],
release = deployment['artifact']['release']['upload'],
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Distribution

TypeDB Studio is available for Linux, Mac and Windows. [Download TypeDB Studio 2.26.6-rc2.](https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-studio+version:2.26.6-rc2)
TypeDB Studio is available for Linux, Mac and Windows. [Download TypeDB Studio 2.26.6-rc3.](https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-studio+version:2.26.6-rc3)

For Mac Intel and Mac ARM, TypeDB Studio is also available through Homebrew:

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.26.6-rc2
2.26.6-rc3

0 comments on commit e8a8a3c

Please sign in to comment.