Skip to content

Commit

Permalink
test releaser (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored May 14, 2020
1 parent 48aebed commit c29687c
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: RELEASE - release built binary
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist --release-notes ./CHANGELOG_REL.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
project_name: relayer

release:
github:
owner: marbar3778
name: cosmos-sdk

builds:
skip: true

archives:
- format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE
- README.md

snapshot:
name_template: SNAPSHOT-{{ .Commit }}

checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"

changelog:
skip: true
Loading

0 comments on commit c29687c

Please sign in to comment.