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 forked cr; keep major version updated #1

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
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
18 changes: 18 additions & 0 deletions .github/workflows/major-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Keep the major version tag up-to-date
on:
release:
types: [published]

permissions:
contents: write

# move the major version tag to the latest release, e.g., v1, to enable
# consumers to subscribe to the latest reverse-compatible release
jobs:
actions-tagger:
runs-on: ubuntu-latest
steps:
- uses: Actions-R-Us/actions-tagger@v2
with:
publish_latest_tag: false
prefer_branch_releases: false
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ branding:
icon: anchor
inputs:
version:
description: "The chart-releaser version to use (default: v1.6.1)"
description: "The chart-releaser version to use (default: v0.1.6104)"
required: false
default: v1.6.1
default: v0.1.6104
config:
description: "The relative path to the chart-releaser config file"
required: false
Expand Down
2 changes: 1 addition & 1 deletion cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ install_chart_releaser() {
mkdir -p "$install_dir"

echo "Installing chart-releaser on $install_dir..."
curl -sSLo cr.tar.gz "https://github.com/helm/chart-releaser/releases/download/$version/chart-releaser_${version#v}_linux_amd64.tar.gz"
curl -sSLo cr.tar.gz "https://github.com/netfoundry/chart-releaser/releases/download/$version/chart-releaser_${version#v}_linux_amd64.tar.gz"
tar -xzf cr.tar.gz -C "$install_dir"
rm -f cr.tar.gz
fi
Expand Down