Skip to content

Commit

Permalink
INTG-2674 Rollback GoUPG (#382)
Browse files Browse the repository at this point in the history
* upgrade go

* upgrade go

* go releaser test

* go releaser test

* go releaser test #2

* go releaser roll-back
  • Loading branch information
MickStanciu authored Feb 21, 2023
1 parent d40faf1 commit 976b0e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20
go-version: 1.18

- name: Setup release environment
run: |-
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME := "github.com/safetyculture/safetyculture-exporter"
GOLANG_CROSS_VERSION := v1.20.0
GOLANG_CROSS_VERSION := v1.18.1

.PHONY: help
help:
Expand Down Expand Up @@ -27,7 +27,7 @@ release-snapshot:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
-f .goreleaser.yml --clean --snapshot --skip-validate --skip-publish
-f .goreleaser.yml --rm-dist --snapshot --skip-validate --skip-publish

.PHONY: release-dry-run
release-dry-run:
Expand All @@ -38,7 +38,7 @@ release-dry-run:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
-f .goreleaser.yml --clean --skip-validate --skip-publish
-f .goreleaser.yml --rm-dist --skip-validate --skip-publish

.PHONY: release
release:
Expand All @@ -51,4 +51,4 @@ release:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
-f .goreleaser.yml release --clean
-f .goreleaser.yml release --rm-dist
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/SafetyCulture/safetyculture-exporter

go 1.20
go 1.18

require (
github.com/dghubble/sling v1.4.1
Expand Down

0 comments on commit 976b0e0

Please sign in to comment.