Skip to content

Commit

Permalink
Merge pull request #13 from dominikwinter/12-github-automation-failed
Browse files Browse the repository at this point in the history
fix bugs
  • Loading branch information
dominikwinter committed Feb 16, 2024
2 parents 9e1f576 + dcdea27 commit a92e6b2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ universal_binaries:
brews:
-
name: pno
url_template: https://github.com/dominikwinter/pno/releases/download/{{ .Tag }}/{{ .ArtifactName }}
homepage: https://github.com/dominikwinter/pno
tap:
description: Generate and validate a Swedish Personnummer, an individualized identifier assigned to each individual born in Sweden
license: MIT
repository:
owner: dominikwinter
name: homebrew-tap
branch: master

checksum:
name_template: checksum.txt
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@ A simple command-line interface (CLI) application written in Go that generates o

## Install

* Download the binary from the [releases page](https://github.com/dominikwinter/pno/releases) or
### Download
Download the binary from the [releases page](https://github.com/dominikwinter/pno/releases)

### Brew
```bash
brew tap dominikwinter/tap
brew install dominikwinter/tap/pno
```

### Go
```bash
go install github.com/dominikwinter/pno@latest
```

* Build the binary from source:
```bash
go install github.com/dominikwinter/pno@latest
```
## Usage
generate a personnummer:
Generate a personnummer:
```
pno gen -h
Expand All @@ -34,7 +42,7 @@ Usage of pno gen:
-v Verbose
```

validate a personnummer:
Validate a personnummer:
```
pno val -h
Expand Down

0 comments on commit a92e6b2

Please sign in to comment.