Skip to content

Commit 309e212

Browse files
committed
add rpm/deb builds, update readme
1 parent 9e8eaae commit 309e212

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

.goreleaser.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ dockers:
7474
- dockerfile: Dockerfile
7575
image_templates:
7676
- "atomicptr/crab:latest"
77-
- "atomicptr/crab:{{.Tag}}"
7877
- "atomicptr/crab:v{{.Major}}"
79-
- "atomicptr/crab:v{{.Major}}.{{.Minor}}"
78+
- "atomicptr/crab:v{{.Major}}.{{.Minor}}"
79+
- "atomicptr/crab:{{.Tag}}"
80+
## NFPM (deb and rpm)
81+
nfpms:
82+
- package_name: crab
83+
vendor: atomicptr
84+
maintainer: "Christopher Kaster <[email protected]>"
85+
homepage: "https://github.com/atomicptr/crab"
86+
description: |
87+
A versatile tool to crawl dozens of URLs from a given source, like a sitemap or an URL list.
88+
license: MIT
89+
formats:
90+
- deb
91+
- rpm

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@ Useful for:
1414

1515
### Binaries
1616

17-
[You can download the newest release from here for Linux, macOS and Windows.](https://github.com/atomicptr/crab/releases/)
17+
[You can download the newest release from here for Linux (including .deb and .rpm), macOS and Windows.](https://github.com/atomicptr/crab/releases/)
18+
19+
### Docker
20+
21+
[Docker Hub](https://hub.docker.com/r/atomicptr/crab)
22+
23+
```bash
24+
$ docker pull atomicptr/crab
25+
# Example
26+
$ docker run --rm atomicptr/crab --help
27+
$ docker run --rm atomicptr/crab crawl:sitemap https://domain.com/sitemap.xml
28+
```
1829

1930
### Snap
2031

@@ -37,14 +48,6 @@ $ scoop bucket add atomicptr https://github.com/atomicptr/scoop-bucket
3748
$ scoop install crab
3849
```
3950

40-
### Docker
41-
42-
```bash
43-
$ docker run --rm atomicptr/crab --help
44-
# Example
45-
$ docker run --rm atomicptr/crab crawl:sitemap https://domain.com/sitemap.xml
46-
```
47-
4851
## Usage
4952

5053
Crawl singular URLs:

0 commit comments

Comments
 (0)