Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Remove beta disclaimer for GA releases
run: |
VERSION="${GITHUB_REF_NAME}"
if [[ ! "$VERSION" =~ -beta|-alpha|-rc ]]; then
echo "GA release detected - removing beta disclaimer from docs"
sed -i '/## Beta Release Disclaimer/,/By using this software, you agree to these terms\./d' docs/index.md
else
echo "Pre-release detected - keeping beta disclaimer"
fi
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
with:
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ signs:
- "--detach-sign"
- "${artifact}"
release:
# Auto-detect pre-release from version suffix (-beta, -alpha, -rc)
prerelease: auto
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
Expand Down
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ By using this software, you agree to these terms.

## Release Notes

### v1.0.11

#### FEATURES

* Introduced beta release stream for early access to new features
* Beta versions (v1.0.11-beta.1) are now available for testing before GA release

### v1.0.10

#### FEATURES
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/hashicorp/terraform-plugin-framework-validators v0.18.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-testing v1.13.3
github.com/paloaltonetworks/scm-go v1.0.10
github.com/paloaltonetworks/scm-go v1.0.11
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/paloaltonetworks/scm-go v1.0.10 h1:MXSPWAJBYL22Ys9H+kJ+VmYVYN1glegU76+6CUl2id4=
github.com/paloaltonetworks/scm-go v1.0.10/go.mod h1:gWG/i4dvJKoqR4Eu2ov/9psATUS33nNYbNezs/77xt0=
github.com/paloaltonetworks/scm-go v1.0.11 h1:y4OpltIAfuQE+222aU6inAuPbn53QoqyIWxIzlj0KAU=
github.com/paloaltonetworks/scm-go v1.0.11/go.mod h1:gWG/i4dvJKoqR4Eu2ov/9psATUS33nNYbNezs/77xt0=
github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
7 changes: 7 additions & 0 deletions templates/index.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ By using this software, you agree to these terms.

## Release Notes

### v1.0.11

#### FEATURES

* Introduced beta release stream for early access to new features
* Beta versions (v1.0.11-beta.1) are now available for testing before GA release

### v1.0.10

#### FEATURES
Expand Down
Loading