Skip to content

Commit

Permalink
add github release section
Browse files Browse the repository at this point in the history
  • Loading branch information
cnt0 committed Apr 1, 2023
1 parent 420caf6 commit b459397
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: goreleaser

on: push
on:
push:
tags:
- '*'

permissions:
contents: write
Expand All @@ -20,6 +23,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --clean --snapshot
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
39 changes: 35 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,38 @@ changelog:
- '^docs:'
- '^test:'

# The lines beneath this are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
nfpms:
-
package_name: lemonade
homepage: https://github.com/cnt0/lemonade
maintainer: cnt0 <[email protected]>
description: |-
Lemonade is a remote utility tool.
(copy, paste and open browser) over TCP.
formats:
- apk
- deb
- rpm
- archlinux

release:
github:
owner: cnt0
name: lemonade

brews:
- tap:
owner: cnt0
name: homebrew-tap
folder: Formula
homepage: https://github.com/cnt0/lemonade
description: |-
Lemonade is a remote utility tool.
(copy, paste and open browser) over TCP.
install: |-
bin.install "lemonade"
service: |
run [bin/"lemonade", "server"]
keep_alive true
log_path var/"log/lemonade.log"
error_log_path var/"log/lemonade.log"

0 comments on commit b459397

Please sign in to comment.