Skip to content

Commit

Permalink
Merge pull request #476 from sunbeam-labs/472-452-release
Browse files Browse the repository at this point in the history
4.5.2.dev4 release
  • Loading branch information
Ulthran authored Apr 2, 2024
2 parents ca5a97d + a096c02 commit 927ddd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
version:
description: "Sunbeam version"
description: "Sunbeam version (make sure it has the leading 'v')"
required: true
type: string
outputs:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:

outputs:
version-without-v: ${{ steps.get_version.outputs.version-without-v }}
version: ${{ steps.get_version.outputs.version }}

steps:
- name: Checkout
Expand Down Expand Up @@ -69,7 +70,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: ${{ github.event.release.id }}
body: "### Sunbeam Tarball\nDownload the Sunbeam tarball from the release page to install Sunbeam locally.\n[Download Sunbeam Tarball](https://github.com/sunbeam-labs/sunbeam/releases/${{ needs.check-version.outputs.version-without-v }}/download/sunbeam.tar.gz"
body: "### Sunbeam Tarball\nDownload the Sunbeam tarball from the release page to install Sunbeam locally.\n[Download Sunbeam Tarball](https://github.com/sunbeam-labs/sunbeam/releases/${{ needs.check-version.outputs.version }}/download/sunbeam.tar.gz"
replacebody: false
files: "sunbeam.tar.gz"

Expand All @@ -88,7 +89,7 @@ jobs:
- name: Download and Extract
shell: bash
run: |
wget https://github.com/sunbeam-labs/sunbeam/releases/${{ needs.check-version.outputs.version-without-v }}/download/sunbeam.tar.gz
wget https://github.com/sunbeam-labs/sunbeam/releases/${{ needs.check-version.outputs.version }}/download/sunbeam.tar.gz
mkdir sunbeam
tar -zxf sunbeam.tar.gz -C sunbeam
cd sunbeam && ./install.sh -e sunbeam
Expand All @@ -103,7 +104,7 @@ jobs:
push-dockerhub:
uses: ./.github/workflows/dockerhub.yml
with:
version: ${{ needs.check-version.outputs.version-without-v }}
version: ${{ needs.check-version.outputs.version }}
secrets: inherit
needs:
- run-tests
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

__conda_url=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
__version_tag=$(if git describe --tags >/dev/null 2>&1 ; then git describe --tags; else echo v4.5.2.dev3; fi) # <--- Update this on each version release
__version_tag=$(if git describe --tags >/dev/null 2>&1 ; then git describe --tags; else echo v4.5.2.dev4; fi) # <--- Update this on each version release
__version_tag="${__version_tag:1}" # Remove the 'v' prefix

read -r -d '' __usage <<-'EOF'
Expand Down

0 comments on commit 927ddd0

Please sign in to comment.