Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kardolus committed Nov 5, 2024
1 parent 64951ac commit 5352a70
Show file tree
Hide file tree
Showing 35 changed files with 1,909 additions and 1,632 deletions.
17 changes: 4 additions & 13 deletions docs/release_procedures.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,15 @@
Execute the Ship-It script to prepare the release:

```shell
make shipit
make shipit <tag> <message>
```

## 2. Create a Git Tag

Use Git to create a new version tag. Replace the version and message as appropriate:

```shell
git tag -a v1.0.5 -m "Add list-models flag"
```

Push the new tag to the repository:

example:
```shell
git push origin --tags
make shipit v1.0.5 "Add list-models flag"
```

## 3. Create a GitHub release
## 2. Create a GitHub release

Use the release notes generated by the `shipit` script when creating a new GitHub release. The `shipit` script also
creates the binaries required for the release in the `./bin` folder.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
)

require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
Expand Down
26 changes: 23 additions & 3 deletions scripts/shipit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,30 @@ echo "Updating dependencies..."
echo "Running all tests..."
./scripts/all-tests.sh

# Step 4: Create binaries
# Step 4: Check for tag and commit message arguments
if [[ $# -lt 2 ]]; then
echo "Error: Missing arguments. Usage: ./shipit.sh <tag> <message>"
exit 1
fi

TAG="$1"
MESSAGE="$2"

echo TAG
echo MESSAGE
exit 0

# Step 5: Create and push git tag
echo "Creating git tag..."
git tag -a "$TAG" -m "$MESSAGE"
git push origin --tags

# Step 6: Create binaries
echo "Creating binaries..."
./scripts/binaries.sh

# Step 5: Generate release notes by diffing from the latest tag to HEAD
# Step 7: Generate release notes by diffing from the latest tag to HEAD
echo "Generating release notes..."
git diff $(git rev-list --tags --max-count=1)..HEAD | chatgpt -n -p ../prompts/write_release_notes.md for the 'how to update' section explain you can use brew upgrade chatgpt-cli or do a direct download of the binaries for your specific OS.
git diff $(git rev-list --tags --max-count=1)..HEAD | chatgpt -n -p ../prompts/write_release_notes.md for the 'how to update' section explain you can use brew upgrade chatgpt-cli or do a direct download of the binaries for your specific OS.

echo "Release complete. Tag $TAG has been created, pushed, and binaries are ready."
7 changes: 4 additions & 3 deletions vendor/github.com/fsnotify/fsnotify/.cirrus.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions vendor/github.com/fsnotify/fsnotify/.editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/fsnotify/fsnotify/.gitattributes

This file was deleted.

3 changes: 3 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 31 additions & 3 deletions vendor/github.com/fsnotify/fsnotify/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 119 additions & 1 deletion vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5352a70

Please sign in to comment.