Skip to content

Commit

Permalink
add rpm/deb builds, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicptr committed Apr 4, 2020
1 parent 9e8eaae commit 309e212
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
16 changes: 14 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@ dockers:
- dockerfile: Dockerfile
image_templates:
- "atomicptr/crab:latest"
- "atomicptr/crab:{{.Tag}}"
- "atomicptr/crab:v{{.Major}}"
- "atomicptr/crab:v{{.Major}}.{{.Minor}}"
- "atomicptr/crab:v{{.Major}}.{{.Minor}}"
- "atomicptr/crab:{{.Tag}}"
## NFPM (deb and rpm)
nfpms:
- package_name: crab
vendor: atomicptr
maintainer: "Christopher Kaster <me@atomicptr.de>"
homepage: "https://github.com/atomicptr/crab"
description: |
A versatile tool to crawl dozens of URLs from a given source, like a sitemap or an URL list.
license: MIT
formats:
- deb
- rpm
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ Useful for:

### Binaries

[You can download the newest release from here for Linux, macOS and Windows.](https://github.com/atomicptr/crab/releases/)
[You can download the newest release from here for Linux (including .deb and .rpm), macOS and Windows.](https://github.com/atomicptr/crab/releases/)

### Docker

[Docker Hub](https://hub.docker.com/r/atomicptr/crab)

```bash
$ docker pull atomicptr/crab
# Example
$ docker run --rm atomicptr/crab --help
$ docker run --rm atomicptr/crab crawl:sitemap https://domain.com/sitemap.xml
```

### Snap

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

### Docker

```bash
$ docker run --rm atomicptr/crab --help
# Example
$ docker run --rm atomicptr/crab crawl:sitemap https://domain.com/sitemap.xml
```

## Usage

Crawl singular URLs:
Expand Down

0 comments on commit 309e212

Please sign in to comment.