From e8a8a3c5a0ad1b80d762106c76784dd054adeb43 Mon Sep 17 00:00:00 2001 From: Dmitrii Ubskii <18616863+dmitrii-ubskii@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:42:56 +0300 Subject: [PATCH] Fix release deployment and bump VERSION to RC3 (#814) ## 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. --- .circleci/config.yml | 8 ++++---- BUILD | 4 ++-- RELEASE_NOTES_LATEST.md | 2 +- VERSION | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 28d71a0a..99649b54 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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: @@ -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: diff --git a/BUILD b/BUILD index 49f6c40f..9a45fae3 100644 --- a/BUILD +++ b/BUILD @@ -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'], @@ -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'], diff --git a/RELEASE_NOTES_LATEST.md b/RELEASE_NOTES_LATEST.md index bc34a543..8bf8dc37 100644 --- a/RELEASE_NOTES_LATEST.md +++ b/RELEASE_NOTES_LATEST.md @@ -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: diff --git a/VERSION b/VERSION index 809e5f0c..7d1a568b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.26.6-rc2 +2.26.6-rc3