Skip to content

Commit

Permalink
Merge pull request #203 from e0ne/rel-v0.6.1
Browse files Browse the repository at this point in the history
Release v0.6.1
  • Loading branch information
e0ne authored Jun 23, 2021
2 parents 73174e5 + ba28cad commit 9c37873
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
4 changes: 2 additions & 2 deletions deployment/network-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: network-operator
version: 0.6.0
version: 0.6.1
kubeVersion: '>= 1.17.0'
appVersion: v0.6.0
appVersion: v0.6.1
description: Nvidia network operator
type: application
keywords:
Expand Down
12 changes: 6 additions & 6 deletions scripts/releases/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ sed -e s"/pullPolicy:.*/pullPolicy: IfNotPresent/" \
-i deployment/network-operator/values.yaml

# Commit changes
git add .
git commit -S -m "Release $release"
#git add .
#git commit -S -m "Release $release"

if [ -n "$push_remote" ]; then
echo "Pushing to $push_remote"
git push "$push_remote"
fi
#if [ -n "$push_remote" ]; then
# echo "Pushing to $push_remote"
# git push "$push_remote"
#fi

#
# Create release assets to be uploaded
Expand Down
15 changes: 11 additions & 4 deletions scripts/releases/update-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ while getopts "hap:" opt; do
p) push_remote="$OPTARG"
;;
*) usage
exit 1
;;
esac
done
Expand All @@ -47,10 +46,11 @@ done
if [ $# -ne 1 ]; then
echo "ERROR: extra positional arguments: $@"
usage
exit 1
# exit 1
fi
echo $push_remote

chart="$1"
chart="$3"
release=${chart::-4}

build_dir="/tmp/network-operator-build"
Expand All @@ -60,7 +60,14 @@ src_dir=$(pwd)
git worktree add $build_dir origin/gh-pages

# Drop worktree on exit
trap "echo 'Removing Git worktree $build_dir'; git worktree remove '$build_dir'" EXIT
#trap "echo 'Removing Git worktree $build_dir'; git worktree remove '$build_dir'" EXIT


echo "-====="
echo $chart
echo $build_dir
echo $push_remote
echo "++++++++"

# Update Helm package index
mv $chart $build_dir/release
Expand Down

0 comments on commit 9c37873

Please sign in to comment.