We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1899eae + 33b0255 commit aa29d35Copy full SHA for aa29d35
2 files changed
.github/workflows/release.yaml
@@ -17,6 +17,9 @@ jobs:
17
with:
18
go-version: 1.23.x
19
- name: Run GoReleaser (dry run)
20
+ env:
21
+ PACKAGE_NAME: github.com/lets-cli/lets
22
+ GOLANG_CROSS_VERSION: v1.23
23
run: |
24
docker run \
25
--rm \
lets.yaml
@@ -25,7 +25,7 @@ commands:
lets release 1.0.0 -m "Release 1.0.0"
26
lets release 1.0.0-rc1 -m "Prerelease 1.0.0-rc1"
27
cmd: |
28
- if [[ -z "$(grep "\[${LETSOPT_VERSION}\]" docs/docs/changelog.md)" ]]; then
+ if [[ "${LETSOPT_VERSION}" != *-rc* ]] && [[ -z "$(grep "\[${LETSOPT_VERSION}\]" docs/docs/changelog.md)" ]]; then
29
echo "Version ${LETSOPT_VERSION} not found in changelog. Update docs/docs/changelog.md and try again."
30
exit 1
31
fi
0 commit comments