Skip to content

Commit

Permalink
fix: release workflow (#1467)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Lewis <ianmlewis@gmail.com>
  • Loading branch information
ianlewis committed Feb 21, 2024
1 parent d5fa142 commit 0d893aa
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/go-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ jobs:
version=$(git describe --tags --always --dirty)
exit_code=0
PATHS=$(find actions/ -not -path '*/node_modules/*' -name package.json -type f -print0 | xargs -0 dirname)
for path in $PATHS; do
if grep -r "TODOS_VERSION" "${path}" >/dev/null; then
if ! grep -r "TODOS_VERSION *= * \"${version}\"" "${path}" >/dev/null; then
echo >&2 "TODOS_VERSION must be set to ${version} in action ${path}"
exit_code=1
fi
fi
done
if ! grep "${version}" CHANGELOG.md >/dev/null; then
echo >&2 "${version} must be included in the CHANGELOG.md"
exit_code=1
Expand Down Expand Up @@ -73,6 +64,6 @@ jobs:
with:
# TODO(github.com/slsa-framework/slsa-github-generator/issues/2661): Use go-version-file
# go-version-file: "go.mod"
go-version: "1.20"
go-version: "1.22"
config-file: ".slsa-goreleaser/todos-${{matrix.os}}-${{matrix.arch}}.yml"
evaluated-envs: "VERSION:${{needs.validate.outputs.version}}"

0 comments on commit 0d893aa

Please sign in to comment.