diff --git a/.github/workflows/release-server.yml b/.github/workflows/release-server.yml index d3b329ea..3b49498f 100644 --- a/.github/workflows/release-server.yml +++ b/.github/workflows/release-server.yml @@ -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 }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 490bc95d..01d944de 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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 @@ -60,8 +61,6 @@ nfpms: formats: - deb - rpm - replacements: - darwin: macOS scoop: bucket: owner: raystack diff --git a/README.md b/README.md index 321813c3..1bdee31f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/clients/clojure/README.md b/clients/clojure/README.md index cf8ffef7..f5789cdc 100644 --- a/clients/clojure/README.md +++ b/clients/clojure/README.md @@ -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 diff --git a/clients/clojure/project.clj b/clients/clojure/project.clj index 38980c99..581a26ef 100644 --- a/clients/clojure/project.clj +++ b/clients/clojure/project.clj @@ -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" diff --git a/clients/java/README.md b/clients/java/README.md index 77fa205f..9546e0c8 100644 --- a/clients/java/README.md +++ b/clients/java/README.md @@ -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 diff --git a/clients/java/build.gradle b/clients/java/build.gradle index a9bcf0c8..418f5bc0 100644 --- a/clients/java/build.gradle +++ b/clients/java/build.gradle @@ -10,7 +10,7 @@ plugins { } group 'org.raystack' -version '0.4.1' +version '0.5.0' repositories { mavenLocal() diff --git a/clients/js/package.json b/clients/js/package.json index fbe56891..f5903597 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -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": { diff --git a/docs/docs/clients/java.md b/docs/docs/clients/java.md index ed9a3cb2..7766924f 100644 --- a/docs/docs/clients/java.md +++ b/docs/docs/clients/java.md @@ -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 @@ -25,7 +25,7 @@ Protobuf allows you to define a protobuf file using DescriptorSet. A FileDescrip org.raystack stencil - 0.4.1 + 0.5.0 ``` diff --git a/docs/docs/installation.md b/docs/docs/installation.md index d28f3312..e672ce45 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -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 diff --git a/docs/docs/reference/api.md b/docs/docs/reference/api.md index 2bda66fb..f0025c53 100644 --- a/docs/docs/reference/api.md +++ b/docs/docs/reference/api.md @@ -1,6 +1,6 @@ # API -## Version: 0.4.1 +## Version: 0.5.0 ### /v1beta1/namespaces