Skip to content

Commit

Permalink
fix: Update goreleaser to fix release failure (#168)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
punit-kulal authored Oct 29, 2023
1 parent efce4da commit 07884e4
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2.6.1
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: 1.9.2
version: v1.21.2
args: --rm-dist ${{ inputs.goreleaserArgs }}
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}
15 changes: 7 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ builds:
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: i386
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
Expand Down Expand Up @@ -60,8 +61,6 @@ nfpms:
formats:
- deb
- rpm
replacements:
darwin: macOS
scoop:
bucket:
owner: raystack
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ docker pull raystack/stencil:latest
To pull a specific version:

```sh
docker pull raystack/stencil:v0.4.1
docker pull raystack/stencil:v0.5.0
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion clients/clojure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A Clojure library designed to easily encode and decode protobuf messages by usin
Add the below dependency to your `project.clj` file:

```clj
[org.raystack/stencil-clj "0.4.1"]
[org.raystack/stencil-clj "0.5.0"]
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion clients/clojure/project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject org.raystack/stencil-clj "0.4.1"
(defproject org.raystack/stencil-clj "0.5.0"
:description "Stencil client for clojure"
:url "https://github.com/raystack/stencil"
:license {:name "Apache 2.0"
Expand Down
2 changes: 1 addition & 1 deletion clients/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip
#### Gradle

```groovy
implementation group: 'org.raystack', name: 'stencil', version: '0.4.1'
implementation group: 'org.raystack', name: 'stencil', version: '0.5.0'
```

#### Maven
Expand Down
2 changes: 1 addition & 1 deletion clients/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group 'org.raystack'
version '0.4.1'
version '0.5.0'

repositories {
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion clients/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@raystack/stencil",
"version": "0.4.1",
"version": "0.5.0",
"description": "Stencil js client package provides a store to lookup protobuf descriptors and options to keep the protobuf descriptors upto date.",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/clients/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip
#### Gradle

```groovy
implementation group: 'org.raystack', name: 'stencil', version: '0.4.1'
implementation group: 'org.raystack', name: 'stencil', version: '0.5.0'
```

#### Maven
Expand All @@ -25,7 +25,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip
<dependency>
<groupId>org.raystack</groupId>
<artifactId>stencil</artifactId>
<version>0.4.1</version>
<version>0.5.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ docker pull raystack/stencil:latest
To pull a specific version:

```
docker pull raystack/stencil:v0.4.1
docker pull raystack/stencil:v0.5.0
```

### Building from source
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/reference/api.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# API

## Version: 0.4.1
## Version: 0.5.0

### /v1beta1/namespaces

Expand Down

0 comments on commit 07884e4

Please sign in to comment.