Skip to content

Commit

Permalink
ci: update goreleaser, remove version from name template (#1222)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs authored Sep 13, 2024
1 parent e670723 commit d7c897c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 41 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/new-pr-notification.yaml

This file was deleted.

35 changes: 17 additions & 18 deletions .github/workflows/release_binary.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
---
name: Release Binary

on:
release:
types: [created]

permissions: write-all

# This workflow creates a release using goreleaser
# via the 'make release' command.

jobs:
release:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
check-latest: true
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Setup release environment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
- name: Setup release environment
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
- name: Release publish
run: make release
- name: Release publish
run: make release
11 changes: 0 additions & 11 deletions .github/workflows/stale-pr-notification.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ builds:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=dymension -X github.com/cosmos/cosmos-sdk/version.AppName=dymd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}

archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_{{ .Arch }}'
- name_template: '{{ .ProjectName }}_{{- title .Os }}_{{ .Arch }}'
format_overrides:
- goos: windows
format: zip
Expand All @@ -91,7 +91,7 @@ archives:
- dymd-windows
- dymd-linux
- dymd-linux-arm64

checksum:
name_template: 'checksums.txt'
changelog:
Expand Down

0 comments on commit d7c897c

Please sign in to comment.