-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from PratikforCoding/go-version-update
Updated go version to 1.19 in make file of jx-admin
- Loading branch information
Showing
4 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
#!/bin/bash | ||
|
||
echo "HOME is $HOME" | ||
echo current git configuration | ||
|
||
# See https://github.com/actions/checkout/issues/766 | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
git config --global --get user.name | ||
|
@@ -13,20 +10,10 @@ echo "setting git user" | |
git config --global user.name jenkins-x-bot-test | ||
git config --global user.email "[email protected]" | ||
|
||
git add * || true | ||
git commit -a -m "chore: release $VERSION" --allow-empty | ||
git tag -fa v$VERSION -m "Release version $VERSION" | ||
git push origin v$VERSION | ||
|
||
export BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||
export BUILDDATE=$(date) | ||
export REV=$(git rev-parse HEAD) | ||
export GOVERSION="1.17.9" | ||
export GOVERSION="$(go version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/')" | ||
export ROOTPACKAGE="github.com/$REPOSITORY" | ||
|
||
# Install syft in this script | ||
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | \ | ||
sh -s -- -b /usr/local/bin v0.54.0 | ||
chmod +x /usr/local/bin/syft | ||
|
||
goreleaser release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,4 +101,4 @@ replace ( | |
k8s.io/client-go => k8s.io/client-go v0.22.15 | ||
) | ||
|
||
go 1.18 | ||
go 1.19 |