Skip to content

Commit 07884e4

Browse files
authored
fix: Update goreleaser to fix release failure (#168)
* changes to go-releaser to build locally * build on tags * revert: args changes * docs: updated docs to point to v0.5.0 * fix: revert clj dependency of stencil to 0.4.0
1 parent efce4da commit 07884e4

File tree

11 files changed

+19
-20
lines changed

11 files changed

+19
-20
lines changed

.github/workflows/release-server.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
username: ${{ secrets.DOCKERHUB_USERNAME }}
2929
password: ${{ secrets.DOCKERHUB_TOKEN }}
3030
- name: Run GoReleaser
31-
uses: goreleaser/goreleaser-action@v2.6.1
31+
uses: goreleaser/goreleaser-action@v5
3232
with:
3333
distribution: goreleaser
34-
version: 1.9.2
34+
version: v1.21.2
3535
args: --rm-dist ${{ inputs.goreleaserArgs }}
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}

.goreleaser.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ builds:
2121
env:
2222
- CGO_ENABLED=0
2323
archives:
24-
- replacements:
25-
darwin: macos
26-
linux: linux
27-
windows: windows
28-
386: i386
29-
amd64: x86_64
24+
- name_template: >-
25+
{{ .ProjectName }}_
26+
{{- title .Os }}_
27+
{{- if eq .Arch "amd64" }}x86_64
28+
{{- else if eq .Arch "386" }}i386
29+
{{- else }}{{ .Arch }}{{ end }}
30+
{{- if .Arm }}v{{ .Arm }}{{ end }}'
3031
format_overrides:
3132
- goos: windows
3233
format: zip
@@ -60,8 +61,6 @@ nfpms:
6061
formats:
6162
- deb
6263
- rpm
63-
replacements:
64-
darwin: macOS
6564
scoop:
6665
bucket:
6766
owner: raystack

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ docker pull raystack/stencil:latest
8181
To pull a specific version:
8282

8383
```sh
84-
docker pull raystack/stencil:v0.4.1
84+
docker pull raystack/stencil:v0.5.0
8585
```
8686

8787
## Usage

clients/clojure/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A Clojure library designed to easily encode and decode protobuf messages by usin
77
Add the below dependency to your `project.clj` file:
88

99
```clj
10-
[org.raystack/stencil-clj "0.4.1"]
10+
[org.raystack/stencil-clj "0.5.0"]
1111
```
1212

1313
## Usage

clients/clojure/project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject org.raystack/stencil-clj "0.4.1"
1+
(defproject org.raystack/stencil-clj "0.5.0"
22
:description "Stencil client for clojure"
33
:url "https://github.com/raystack/stencil"
44
:license {:name "Apache 2.0"

clients/java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip
1616
#### Gradle
1717

1818
```groovy
19-
implementation group: 'org.raystack', name: 'stencil', version: '0.4.1'
19+
implementation group: 'org.raystack', name: 'stencil', version: '0.5.0'
2020
```
2121

2222
#### Maven

clients/java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
group 'org.raystack'
13-
version '0.4.1'
13+
version '0.5.0'
1414

1515
repositories {
1616
mavenLocal()

clients/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@raystack/stencil",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"description": "Stencil js client package provides a store to lookup protobuf descriptors and options to keep the protobuf descriptors upto date.",
55
"main": "main.js",
66
"scripts": {

docs/docs/clients/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip
1616
#### Gradle
1717

1818
```groovy
19-
implementation group: 'org.raystack', name: 'stencil', version: '0.4.1'
19+
implementation group: 'org.raystack', name: 'stencil', version: '0.5.0'
2020
```
2121

2222
#### Maven
@@ -25,7 +25,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip
2525
<dependency>
2626
<groupId>org.raystack</groupId>
2727
<artifactId>stencil</artifactId>
28-
<version>0.4.1</version>
28+
<version>0.5.0</version>
2929
</dependency>
3030
```
3131

docs/docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docker pull raystack/stencil:latest
5656
To pull a specific version:
5757

5858
```
59-
docker pull raystack/stencil:v0.4.1
59+
docker pull raystack/stencil:v0.5.0
6060
```
6161

6262
### Building from source

0 commit comments

Comments
 (0)