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

Use https to retrieve latest tags for Helm chart pins #362

Merged
merged 1 commit into from
Apr 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ jobs:
- name: Get the version tags
id: get_version
run: |
# Enable pipefail so git command failures do not result in null versions downstream
set -x

echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
echo ::set-output name=CORE_VERSION::$(\
git ls-remote --tags --refs --sort="v:refname" \
git://github.com/PrefectHQ/prefect.git | tail -n1 | sed 's/.*\///' \
https://github.com/PrefectHQ/prefect.git | tail -n1 | sed 's/.*\///' \
)
echo ::set-output name=UI_VERSION::$(\
git ls-remote --tags --refs --sort="v:refname" \
git://github.com/PrefectHQ/ui.git | tail -n1 | sed 's/.*\///' \
https://github.com/PrefectHQ/ui.git | tail -n1 | sed 's/.*\///' \
)

- name: Configure Git
Expand Down