Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.7.0 #2

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
branches:
- main
pull_request:

env:
HOMEBREW_NO_ANALYTICS: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1

jobs:
test-bot:
strategy:
Expand All @@ -17,7 +23,7 @@ jobs:

- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
Expand All @@ -34,7 +40,7 @@ jobs:

- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bottles
path: '*.bottle.*'
24 changes: 9 additions & 15 deletions Formula/educates-cli.rb
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
class EducatesCli < Formula
desc "Platform for hosting interactive workshop environments in Kubernetes"
homepage "https://docs.educates.dev"
version "2.6.16"
version "2.7.0"
license "Apache-2.0"

bottle do
root_url "https://github.com/educates/homebrew-educates/releases/download/educates-cli-2.6.16"
sha256 cellar: :any_skip_relocation, ventura: "328d459f4e41a2f3bf6dd642c3baa421852da5e80cc592c76c5e86a80a8b3182"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b4e39658c882f8a35f09ea519a51e6ccf478d7fe83a15446292a0ddfcf3d9470"
end

if OS.mac?
if Hardware::CPU.arm?
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.6.16/educates-darwin-arm64"
sha256 "7beafad95bc4b97d8998b006746e0409e2e02d7d0265a84f8b2a31f9011ad7bb"
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.7.0/educates-darwin-arm64"
sha256 "81b2f360180357cd8337adb24e7e7fa63771ea204a9aac09ae926f98e2870fd5"
else
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.6.16/educates-darwin-amd64"
sha256 "28566752591d33b47405729b84517890738761158a49c9823415854cbb3f6059"
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.7.0/educates-darwin-amd64"
sha256 "985ebb79187e95b49c5bd6178cb14946faae9e711db5106fedc82efde6832f54"
end
elsif OS.linux?
if Hardware::CPU.arm?
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.6.16/educates-linux-arm64"
sha256 "4f2b4b210674ff90da1d3e2f2613f3d352e43ac5b616ecdc27490fc9b64f6916"
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.7.0/educates-linux-arm64"
sha256 "f4fb95b6074be6345281afc7dc0879a8214643a9398d8fc399d391e864b15630"
else
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.6.16/educates-linux-amd64"
sha256 "2c96bf6f063ea7ae13456cfe6dcfaa02c28b7896d2d9f5f4359c1fa08f4216e4"
url "https://github.com/vmware-tanzu-labs/educates-training-platform/releases/download/2.7.0/educates-linux-amd64"
sha256 "4d068b31b662dc6b260e854115493f5e12859b6a30c1e5a56ee24aeb1459e8d8"
end
end

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ Or `brew tap educates/educates` and then `brew install <formula>`.
Once the formula is ready to publish, veryify it with:

```
brew audit --strict --new --online <formula>
brew audit --strict --new <formula>
```


To push to the repo:

```
cd "$(brew --repository educates/educates)"
git checkout -b <branch name>
git add -A
git commit
git commit -m <message>
```

Because the branch you're committing to doesn't exist on the remote server you'll have to do something like this the first time you push your changes:
Expand Down