File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 59
59
git-user : terraform-docs-bot
60
60
git-user-email : bot@terraform-docs.io
61
61
git-commit-message : " Chocolatey update for terraform-docs version v${{ steps.vars.outputs.tag }}"
62
- excludes : README.md:LICENSE:.git:.github
62
+ excludes : README.md:LICENSE:DCO: .git:.github
63
63
64
64
homebrew :
65
65
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ CLOSEST_VERSION=$(getClosestVersion)
68
68
# Bump the released version in README and version.go
69
69
if [[ $RELEASE_VERSION != * " -alpha" * && $RELEASE_VERSION != * " -beta" * && $RELEASE_VERSION != * " -rc" * ]]; then
70
70
sed -i -E " s|${CLOSEST_VERSION} |${RELEASE_VERSION} |g" README.md
71
- git add README.md
71
+ sed -i -E " s|${CLOSEST_VERSION} |${RELEASE_VERSION} |g" docs/user-guide/installation.md
72
+ git add README.md docs/user-guide/installation.md
72
73
fi
73
74
74
75
sed -i -E " s|v${RELEASE_VERSION} -alpha|v${RELEASE_VERSION} |g" internal/version/version.go
Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ git clone https://github.com/terraform-docs/chocolatey-package "${PWD}/chocolate
50
50
sed -i -E " s|<version>${CLOSEST_VERSION} </version>|<version>${RELEASE_VERSION} </version>|g" " ${PWD} /chocolatey-package/terraform-docs.nuspec"
51
51
52
52
# Bump version and checksum in tools/chocolateyinstall.ps1
53
- CHECKSUM=$( grep windows-amd64.exe " ${PWD} /../../dist/terraform-docs-v${RELEASE_VERSION} .sha256sum" | awk ' {print $1}' )
53
+ CHECKSUM=$( grep windows-amd64.zip " ${PWD} /../../dist/terraform-docs-v${RELEASE_VERSION} .sha256sum" | awk ' {print $1}' )
54
54
55
55
sed -i -E " s|checksum = '.*$|checksum = '${CHECKSUM} '|g" " ${PWD} /chocolatey-package/tools/chocolateyinstall.ps1"
56
56
sed -i -E " s|v${CLOSEST_VERSION} |v${RELEASE_VERSION} |g" " ${PWD} /chocolatey-package/tools/chocolateyinstall.ps1"
57
+
58
+ pushd " ${PWD} /chocolatey-package/"
59
+ git diff
60
+ popd
You can’t perform that action at this time.
0 commit comments