Skip to content

Commit

Permalink
feat: change config prompts 🥷
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Aug 6, 2023
1 parent ecc7982 commit e935ee1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
46 changes: 24 additions & 22 deletions .github/workflows/release_go.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
# .github/workflows/release.yaml
name: goreleaser

on:
release:
types: [created]
push:
# run only against tags
tags:
- '*'

permissions:
permissions:
contents: write
packages: write
# packages: write
# issues: write

jobs:
releases-matrix:
name: Release Go Binary
goreleaser:
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
extra_files: LICENSE README.md
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: stable
# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.
- uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
- [x] remove -> remove git hook -> change name
- [x] bubbletea and bubbles as prompt -> remove current search, use list instead (bubbles). remove spinner, use bubbles
- [x] remove query cmd -> included into list
- [ ] docker
- [ ] ci/cd
- [ ] docker for dev and release a example image
- [ ] ci/cd -> releaser action https://goreleaser.com/ci/actions/
- [x] bug in config -> gitmoji url is not shown properly

0 comments on commit e935ee1

Please sign in to comment.