Skip to content

Commit

Permalink
* Fixing the update script. Environment variable was being accessed i…
Browse files Browse the repository at this point in the history
…ncorrectly. (#97)

* Updating Formulae with new versions.

Co-authored-by: Sanskar Garg <[email protected]>
  • Loading branch information
gargsans-yb and Sanskar Garg authored Sep 12, 2024
1 parent 9fcf9ba commit 919e86c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-formula-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: "Update the version of yugabytedb formula"
id: update-yb-formula
run: |
.ci/update_formula_version.sh "${yb_version}"
.ci/update_formula_version.sh "$yb_version"
- name: "Run brew audit on changed formula files"
id: run-audit
run: |
Expand All @@ -51,7 +51,7 @@ jobs:
git status
git diff
git add ${{steps.update-yb-formula.outputs.modified_files}}
git commit -m "Update the version to ${{ yb_version }}"
branch_name="update-${{ yb_version }}-${{github.run_id}}"
git push origin ${{ github.ref }}:${{ branch_name }}
echo "The modified files are pushed to https://github.com/${{github.repository}}/tree/${{ branch_name }}" 1>&2
git commit -m "Update the version to $yb_version"
branch_name="update-$yb_version-${{github.run_id}}"
git push origin ${{ github.ref }}:$branch_name
echo "The modified files are pushed to https://github.com/${{github.repository}}/tree/$branch_name" 1>&2
6 changes: 3 additions & 3 deletions Formula/yugabytedb.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Yugabytedb < Formula
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
url "https://downloads.yugabyte.com/releases/2024.1.0.0/yugabyte-2024.1.0.0-b129-darwin-x86_64.tar.gz"
version "2024.1.0.0"
sha256 "986ce002f94c74ef1e67e68ae3ef0e9c01bc49a4091730ad541b046800ec18c0"
url "https://downloads.yugabyte.com/releases/2024.1.2.0/yugabyte-2024.1.2.0-b77-darwin-x86_64.tar.gz"
version "2024.1.2.0"
sha256 "39f91d8b66fe87f383a4403bbb37350164146d7985518db27048c5b2cbb0567e"
license "Apache-2.0"

depends_on "[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class YugabytedbAT218 < Formula
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
url "https://downloads.yugabyte.com/releases/2.18.5.2/yugabyte-2.18.5.2-b1-darwin-x86_64.tar.gz"
version "2.18.5.2"
sha256 "fe8a8b07d27aa91637f38b976e91cc35d7a575d134707b3d18cc4ce12cbed6e5"
url "https://downloads.yugabyte.com/releases/2.18.9.0/yugabyte-2.18.9.0-b17-darwin-x86_64.tar.gz"
version "2.18.9.0"
sha256 "1b8fcda02d7c16cc2c73b045fa603fde8b2a073fe9c3d3b71a1303c3f834941d"
license "Apache-2.0"

keg_only :versioned_formula
Expand Down
6 changes: 3 additions & 3 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class YugabytedbAT220 < Formula
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
url "https://downloads.yugabyte.com/releases/2.20.4.0/yugabyte-2.20.4.0-b50-darwin-x86_64.tar.gz"
version "2.20.4.0"
sha256 "54c7651ea6544cf1e160bed3c3d55f2f71c5f26f6b801759e78f8c45c4b2c966"
url "https://downloads.yugabyte.com/releases/2.20.6.0/yugabyte-2.20.6.0-b66-darwin-x86_64.tar.gz"
version "2.20.6.0"
sha256 "58b82a29fe834d797a368efb33d64ebf0ebf3dd3ad345c3337611960077b9447"
license "Apache-2.0"

keg_only :versioned_formula
Expand Down
6 changes: 3 additions & 3 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class YugabytedbAT221 < Formula
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
url "https://downloads.yugabyte.com/releases/2.21.0.1/yugabyte-2.21.0.1-b1-darwin-x86_64.tar.gz"
version "2.21.0.1"
sha256 "08d4e5c3e7961a61f8858f172a7aec493183fbe483cd3d2efbc6b2b15e40b673"
url "https://downloads.yugabyte.com/releases/2.21.1.0/yugabyte-2.21.1.0-b271-darwin-x86_64.tar.gz"
version "2.21.1.0"
sha256 "14ec8f387a1cb2688ce316f52063cecbe3446f0051ee5fc989d9bb67d00401ea"
license "Apache-2.0"

keg_only :versioned_formula
Expand Down

0 comments on commit 919e86c

Please sign in to comment.