diff --git a/.drone.yml b/.drone.yml index a78b79d..94ba854 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,9 +4,9 @@ name: default steps: - name: build - image: golang + image: golang:1.19 commands: - - GOARCH=amd64 GOOS=linux go build -o bin/gospt main.go + - go build -o bin/gospt - name: gitea_release image: plugins/gitea-release settings: diff --git a/Makefile b/Makefile index 40b0c06..8abac0d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ srcinfo: cd aur && makepkg --printsrcinfo > .SRCINFO build: - GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go + go build -o bin/${BINARY_NAME} run: go run main.go diff --git a/aur/PKGBUILD b/aur/PKGBUILD index 582cba4..d961bd2 100644 --- a/aur/PKGBUILD +++ b/aur/PKGBUILD @@ -12,7 +12,7 @@ source=( "https://gitea.asdf.cafe/abs3nt/gospt/releases/download/v${pkgver}/gospt" ) sha256sums=( - 'dfacda14f86f51deac5fb8da9a158fa5854de1306edcebf0a8ed46903a06f54d' + 'c6597d5b3f3762f58f9f750a3e0f5402b9fb507c4b0f3028a037c69eb34d110a' ) package() {