Skip to content

Commit

Permalink
fix: Fix release workflow (#2639)
Browse files Browse the repository at this point in the history
Revert conditionality in release jobs
  • Loading branch information
sfc-gh-asawicki authored and sfc-gh-swinkler committed Mar 25, 2024
1 parent 17fda86 commit d813d35
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ jobs:
# so we build the proper version
with:
fetch-depth: 0
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
if: ${{ steps.release.outputs.release_created }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
Expand All @@ -65,3 +67,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.create-token.outputs.token }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
if: ${{ steps.release.outputs.release_created }}
10 changes: 5 additions & 5 deletions pkg/resources/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import (

var databaseSchema = map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
Required: true,
Type: schema.TypeString,
Required: true,
Description: "Specifies the identifier for the database; must be unique for your account.",
},
"comment": {
Type: schema.TypeString,
Optional: true,
Default: "",
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Specifies a comment for the database.",
},
"is_transient": {
Expand Down

0 comments on commit d813d35

Please sign in to comment.