Skip to content

Commit a92e6b2

Browse files
committed
Merge pull request #13 from dominikwinter/12-github-automation-failed
fix bugs
2 parents 9e1f576 + dcdea27 commit a92e6b2

3 files changed

Lines changed: 20 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
19-
-
20-
name: Fetch all tags
21-
run: git fetch --force --tags
2219
- name: Set up Go
2320
uses: actions/setup-go@v4
2421
with:

.goreleaser.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ universal_binaries:
2121
brews:
2222
-
2323
name: pno
24+
url_template: https://github.com/dominikwinter/pno/releases/download/{{ .Tag }}/{{ .ArtifactName }}
2425
homepage: https://github.com/dominikwinter/pno
25-
tap:
26+
description: Generate and validate a Swedish Personnummer, an individualized identifier assigned to each individual born in Sweden
27+
license: MIT
28+
repository:
2629
owner: dominikwinter
2730
name: homebrew-tap
31+
branch: master
2832

2933
checksum:
3034
name_template: checksum.txt

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,22 @@ A simple command-line interface (CLI) application written in Go that generates o
66

77
## Install
88

9-
* Download the binary from the [releases page](https://github.com/dominikwinter/pno/releases) or
9+
### Download
10+
Download the binary from the [releases page](https://github.com/dominikwinter/pno/releases)
11+
12+
### Brew
13+
```bash
14+
brew tap dominikwinter/tap
15+
brew install dominikwinter/tap/pno
16+
```
17+
18+
### Go
19+
```bash
20+
go install github.com/dominikwinter/pno@latest
21+
```
1022

11-
* Build the binary from source:
12-
```bash
13-
go install github.com/dominikwinter/pno@latest
14-
```
1523
## Usage
16-
generate a personnummer:
24+
Generate a personnummer:
1725
```
1826
pno gen -h
1927
@@ -34,7 +42,7 @@ Usage of pno gen:
3442
-v Verbose
3543
```
3644

37-
validate a personnummer:
45+
Validate a personnummer:
3846
```
3947
pno val -h
4048

0 commit comments

Comments
 (0)