Skip to content

Commit 3830f1f

Browse files
authored
fix: update runtime definition URLs and remove unused script (#778)
Updated the runtime definition URLs in store.go to point to the latest version and removed the get-manifests-location.sh script as it is no longer needed. This ensures that the application uses the correct runtime configuration and simplifies the codebase. ## What <!-- What is changing in this PR? --> ## Why <!-- Why are these changes being made? --> ## Notes <!-- Add any additional notes here -->
1 parent f3eebb2 commit 3830f1f

File tree

5 files changed

+6
-28
lines changed

5 files changed

+6
-28
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.2.0
1+
VERSION=v0.2.1
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cf version
1515

1616
```bash
1717
# download and extract the binary
18-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.69/cf-linux-amd64.tar.gz | tar zx
18+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.2.1/cf-linux-amd64.tar.gz | tar zx
1919

2020
# move the binary to your $PATH
2121
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -28,7 +28,7 @@ cf version
2828

2929
```bash
3030
# download and extract the binary
31-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.69/cf-darwin-amd64.tar.gz | tar zx
31+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.2.1/cf-darwin-amd64.tar.gz | tar zx
3232

3333
# move the binary to your $PATH
3434
mv ./cf-darwin-amd64 /usr/local/bin/cf

hack/get-manifests-location.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

hack/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [[ -z "$PRERELEASE" ]]; then
2121
fi
2222

2323
echo "uploading files:"
24-
ls -1a ./dist/version.txt ./dist/*.tar.gz ./dist/*.sha256 ./manifests/runtime.yaml
24+
ls -1a ./dist/version.txt ./dist/*.tar.gz ./dist/*.sha256
2525
echo ""
2626

2727
FILE="./docs/releases/release_notes.md"
@@ -30,8 +30,8 @@ cat $FILE | head -n 5 && echo ...
3030
echo ""
3131

3232
if [[ "$DRY_RUN" == "1" ]]; then
33-
echo "gh release create --repo $GIT_REPO -t $VERSION -F $FILE --prerelease=$PRERELEASE $VERSION ./dist/version.txt ./dist/*.tar.gz ./dist/*.sha256 ./manifests/runtime.yaml"
33+
echo "gh release create --repo $GIT_REPO -t $VERSION -F $FILE --prerelease=$PRERELEASE $VERSION ./dist/version.txt ./dist/*.tar.gz ./dist/*.sha256"
3434
exit 0
3535
fi
3636

37-
gh release create --repo $GIT_REPO -t $VERSION -F $FILE --prerelease=$PRERELEASE $VERSION ./dist/version.txt ./dist/*.tar.gz ./dist/*.sha256 ./manifests/runtime.yaml
37+
gh release create --repo $GIT_REPO -t $VERSION -F $FILE --prerelease=$PRERELEASE $VERSION ./dist/version.txt ./dist/*.tar.gz ./dist/*.sha256

internal/store/store.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ var (
3030
buildDate = ""
3131
gitCommit = ""
3232
SegmentWriteKey = ""
33-
RuntimeDefURL = "https://raw.githubusercontent.com/codefresh-io/csdp-official/stable/csdp/hybrid/basic/runtime.yaml"
34-
OldRuntimeDefURL = "https://github.com/codefresh-io/cli-v2/releases/latest/download/runtime.yaml"
3533
AddClusterDefURL = "https://github.com/codefresh-io/csdp-official/add-cluster/kustomize"
3634
)
3735

0 commit comments

Comments
 (0)