Skip to content

Commit

Permalink
modify goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
jharshman committed May 17, 2023
1 parent 2f609bc commit ae66d27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
Expand All @@ -13,7 +10,6 @@ builds:

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
Expand All @@ -25,14 +21,10 @@ checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^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
#changelog:
# sort: asc
# filters:
# exclude:
# - '^docs:'
# - '^test:'
#
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ $ curl https://raw.githubusercontent.com/jharshman/fwsync/master/install.sh | sh

## Usage

### Authentication
Communication to the GoogleAPIs requires setting the environment variable `GOOGLE_APPLICATION_CREDENTIALS`.
This variable should point to the path of your downloaded service account json. For example, `export GOOGLE_APPLICATION_CREDENTIALS=/Users/bob/bobserviceaccount.json`.

### Init
After installing, you can invoke the CLI by typing `fwsync` in your terminal.
This by default will display some usage information.
Expand Down

0 comments on commit ae66d27

Please sign in to comment.