Skip to content

Commit 0faafd8

Browse files
committed
build .deb and .rpm packages
1 parent 9e6f024 commit 0faafd8

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.goreleaser.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ scoop:
4444
description: 'sync-dotenv helps you to keep your .env.example in sync with your .env file.'
4545
license: MIT
4646

47+
nfpms:
48+
- homepage: 'https://github.com/atrox/sync-dotenv'
49+
description: 'sync-dotenv helps you to keep your .env.example in sync with your .env file.'
50+
license: MIT
51+
maintainer: 'Atrox <hello@atrox.dev>'
52+
vendor: 'atrox.dev'
53+
formats:
54+
- deb
55+
- rpm
56+
4757
archives:
4858
- replacements:
4959
darwin: Darwin

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# sync-dotenv
22

3+
[![Release](https://img.shields.io/github/release/atrox/sync-dotenv.svg?style=flat-square)](https://github.com/atrox/sync-dotenv/releases/latest)
34
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fatrox%2Fsync-dotenv%2Fbadge&style=flat-square)](https://actions-badge.atrox.dev/atrox/sync-dotenv/goto)
45
[![Coverage Status](https://img.shields.io/codecov/c/github/atrox/sync-dotenv.svg?style=flat-square)](https://codecov.io/gh/Atrox/sync-dotenv)
56
[![Go Report Card](https://goreportcard.com/badge/github.com/atrox/sync-dotenv?style=flat-square)](https://goreportcard.com/report/github.com/atrox/sync-dotenv)
@@ -19,6 +20,10 @@ scoop bucket add sync-dotenv https://github.com/atrox/scoop-bucket
1920
scoop install sync-dotenv
2021
```
2122

23+
### Linux (deb/rpm)
24+
25+
Download the `.deb` or `.rpm` from the [releases page](https://github.com/atrox/sync-dotenv/releases) and install with `dpkg -i` and `rpm -i` respectively.
26+
2227
### Manually
2328

2429
Download the pre-compiled binaries from the [releases page](https://github.com/atrox/sync-dotenv/releases) and copy to the desired location.

0 commit comments

Comments
 (0)