Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6441a9b8a4 |
@@ -14,13 +14,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v2-beta
|
||||
with:
|
||||
go-version: 1.14
|
||||
uses: actions/setup-go@v3
|
||||
- name: Set CURRENT_TAG
|
||||
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
|
||||
+1
-1
@@ -159,7 +159,7 @@ func main() {
|
||||
|
||||
if repoName != existingRepo {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
_, err := w.Write([]byte(fmt.Sprintf("Repo %s not found", html.EscapeString(repoName))))
|
||||
_, err := w.Write([]byte(fmt.Sprintf("Repo %s not found", repoName)))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user