-
Notifications
You must be signed in to change notification settings - Fork 649
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 #1379 from cloudflare/bump-deps
Bump deps
- Loading branch information
Showing
6 changed files
with
54 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:dependency | ||
`github.com/cloudflare/cloudflare-go` v0.29.0 => v0.30.0 | ||
``` |
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
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
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Generate a changelog entry for a proposed PR by grabbing the next available | ||
# auto incrementing ID in GitHub. | ||
|
||
if ! command -v curl &> /dev/null | ||
then | ||
echo "jq not be found" | ||
exit 1 | ||
fi | ||
|
||
if ! command -v jq &> /dev/null | ||
then | ||
echo "jq not be found" | ||
exit 1 | ||
fi | ||
|
||
current_pr=$(curl -s "https://api.github.com/repos/cloudflare/terraform-provider-cloudflare/issues?state=all&per_page=1" | jq -r ".[].number") | ||
next_pr=$(($current_pr + 1)) | ||
changelog_path=".changelog/$next_pr.txt" | ||
|
||
echo "==> What type of change is this? (enhancement, bug, breaking-change, new-resource, new-data-source, new-guide)" | ||
read entry_type | ||
|
||
echo "==> What is the summary of this change? Example: resource/example: made a change to CRUD operations" | ||
read entry_summary | ||
|
||
touch $(pwd)/$changelog_path | ||
cat > $(pwd)/$changelog_path <<EOF | ||
\`\`\`release-note:$entry_type | ||
$entry_summary | ||
\`\`\` | ||
EOF | ||
|
||
echo | ||
echo "Successfully created $changelog_path. Don't forget to commit it and open the PR!" |