3 Commits

Author SHA1 Message Date
4f33464489 version bump
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-19 11:47:06 +01:00
2c787bd532 Fixed typo in repo data source
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-17 22:40:28 +00:00
feacbf5a3f update goreleaser version
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-31 19:40:16 +00:00
7 changed files with 7 additions and 7 deletions

View File

@ -37,7 +37,7 @@ jobs:
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | \ curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | \
sh -s -- -b /usr/local/bin v0.64.0 sh -s -- -b /usr/local/bin v0.64.0
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4.1.0 uses: goreleaser/goreleaser-action@v4.2.0
with: with:
version: latest version: latest
args: release --rm-dist args: release --rm-dist

View File

@ -3,7 +3,7 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
GOFMT ?= gofmt -s GOFMT ?= gofmt -s
VERSION = 0.12.1 VERSION = 0.12.2
test: fmt-check test: fmt-check
go test -i $(TEST) || exit 1 go test -i $(TEST) || exit 1

View File

@ -17,7 +17,7 @@ terraform {
required_providers { required_providers {
gitea = { gitea = {
source = "Lerentis/gitea" source = "Lerentis/gitea"
version = "0.12.1" version = "0.12.2"
} }
} }
} }

View File

@ -17,7 +17,7 @@ terraform {
required_providers { required_providers {
gitea = { gitea = {
source = "Lerentis/gitea" source = "Lerentis/gitea"
version = "0.12.1" version = "0.12.2"
} }
} }
} }

View File

@ -2,7 +2,7 @@ terraform {
required_providers { required_providers {
gitea = { gitea = {
source = "terraform.local/lerentis/gitea" source = "terraform.local/lerentis/gitea"
version = "0.12.1" version = "0.12.2"
} }
} }
} }

View File

@ -2,7 +2,7 @@ terraform {
required_providers { required_providers {
gitea = { gitea = {
source = "Lerentis/gitea" source = "Lerentis/gitea"
version = "0.12.1" version = "0.12.2"
} }
} }
} }

View File

@ -116,7 +116,7 @@ func dataSourceGiteaRepoRead(d *schema.ResourceData, meta interface{}) error {
} }
username := strings.ToLower(usernameData.(string)) username := strings.ToLower(usernameData.(string))
nameData, nameOk := d.GetOk("username") nameData, nameOk := d.GetOk("name")
if !nameOk { if !nameOk {
return fmt.Errorf("name of repo must be passed") return fmt.Errorf("name of repo must be passed")
} }