Skip to content

Commit

Permalink
changes to go-releaser to build locally
Browse files Browse the repository at this point in the history
  • Loading branch information
punit-kulal committed Oct 26, 2023
1 parent efce4da commit 9eac07c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release
on:
push:
tags:
- "v*.*.*"
# tags:
# - "v*.*.*"
workflow_dispatch:
inputs:
goreleaserArgs:
Expand All @@ -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
args: --rm-dist ${{ inputs.goreleaserArgs }}
version: v1.21.2
args: --snapshot --clean
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 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

0 comments on commit 9eac07c

Please sign in to comment.