Skip to content

Commit

Permalink
ci: update version to v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Berezin committed Aug 17, 2022
1 parent 6a5a316 commit 3f552be
Showing 1 changed file with 21 additions and 30 deletions.
51 changes: 21 additions & 30 deletions plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
# Copyright 2022 JovianX Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Name: "release"
version: "0.3.1"
usage: "pull or update Helm Releases"
description: |-
Update values of a releases, pull charts from releases
command: "$HELM_PLUGIN_DIR/release.sh"
Name: release
version: 0.3.2
usage: pull or update Helm Releases
description: Update values of a releases, pull charts from releases
command: $HELM_PLUGIN_DIR/release.sh
hooks:
install: |
VERSION=$(curl --silent "https://api.github.com/repos/mikefarah/yq/releases/latest" | jq -r .tag_name)
OS="$(uname | tr '[:upper:]' '[:lower:]')"
case $OS in
darwin*) BINARY="yq_darwin_amd64" ;;
linux*) BINARY="yq_linux_amd64" ;;
*) printf '%s\n' "Unsupported operating system($OS) detected while installing yq." >&2;exit 1 ;;
esac
curl -L https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -o $HELM_PLUGIN_DIR/lib/yq;
chmod +x $HELM_PLUGIN_DIR/lib/yq;
install: >
VERSION=$(curl --silent
"https://api.github.com/repos/mikefarah/yq/releases/latest" | jq -r
.tag_name)
OS="$(uname | tr '[:upper:]' '[:lower:]')"
case $OS in
darwin*) BINARY="yq_darwin_amd64" ;;
linux*) BINARY="yq_linux_amd64" ;;
*) printf '%s\n' "Unsupported operating system($OS) detected while installing yq." >&2;exit 1 ;;
esac
curl -L https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -o $HELM_PLUGIN_DIR/lib/yq;
chmod +x $HELM_PLUGIN_DIR/lib/yq;

0 comments on commit 3f552be

Please sign in to comment.