Skip to content

Commit 8eb5c6e

Browse files
committed
feat: adding logo and polish to readme for usability.
1 parent 43f2123 commit 8eb5c6e

3 files changed

Lines changed: 79 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ name: Release
22

33
on:
44
push:
5-
tags: ['v*']
5+
tags: ["v*"]
66
release:
77
types: [published]
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
build-and-upload:
1114
name: Build ${{ matrix.artifact_os }} ${{ matrix.artifact_arch }}
@@ -44,7 +47,7 @@ jobs:
4447
with:
4548
# Use a pinned Go version instead of parsing go.mod to avoid
4649
# failing on unsupported prerelease versions in the module file.
47-
go-version: '1.25'
50+
go-version: "1.25"
4851

4952
- name: Download dependencies
5053
run: go mod download
@@ -61,10 +64,13 @@ jobs:
6164
- name: Create archive
6265
run: |
6366
tar -C dist -czf envmap_${{ matrix.artifact_os }}_${{ matrix.artifact_arch }}.tar.gz envmap
67+
sha256sum envmap_${{ matrix.artifact_os }}_${{ matrix.artifact_arch }}.tar.gz > envmap_${{ matrix.artifact_os }}_${{ matrix.artifact_arch }}.tar.gz.sha256
6468
6569
- name: Upload release asset
6670
uses: softprops/action-gh-release@v2
6771
with:
68-
files: envmap_${{ matrix.artifact_os }}_${{ matrix.artifact_arch }}.tar.gz
72+
files: |
73+
envmap_${{ matrix.artifact_os }}_${{ matrix.artifact_arch }}.tar.gz
74+
envmap_${{ matrix.artifact_os }}_${{ matrix.artifact_arch }}.tar.gz.sha256
6975
env:
7076
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
1+
<p align="center">
2+
<img src="./logo.svg" alt="envmap logo" width="320">
3+
</p>
4+
15
# envmap
26

3-
`envmap` keeps secrets out of your Git history by sourcing them from a provider (local encrypted store, AWS SSM, Vault, etc.) and injecting them directly into the target process. No `.env` files, no accidental commits, no ad‑hoc shell scripts.
7+
`envmap` keeps secrets out of your Git history by sourcing them from a provider (local encrypted store, AWS SSM, Vault, etc.) and injecting them directly into the target process. No `.env` files, no accidental commits, no “who has the latest .env?” in Slack.
8+
9+
## Why?
10+
11+
- `.env` files are easy to leak and hard to rotate across multiple engineers and machines.
12+
- Most teams already have a secrets backend (or should); local dev is the messy part.
13+
- `envmap` gives each repo a single, typed mapping from “env name → provider path” and a consistent `envmap run -- <cmd>` entrypoint.
14+
15+
<p align="center">
16+
<img src="./logo.svg" alt="envmap logo" width="280">
17+
</p>
18+
19+
<p align="center">
20+
<a href="https://github.com/binsquare/envmap/stargazers">
21+
<img src="https://img.shields.io/github/stars/binsquare/envmap?style=social" alt="GitHub stars">
22+
</a>
23+
<a href="https://github.com/binsquare/envmap/actions">
24+
<img src="https://img.shields.io/github/actions/workflow/status/binsquare/envmap/release.yml?label=ci" alt="CI status">
25+
</a>
26+
<a href="https://pkg.go.dev/github.com/binsquare/envmap">
27+
<img src="https://pkg.go.dev/badge/github.com/binsquare/envmap.svg" alt="Go Reference">
28+
</a>
29+
<a href="https://goreportcard.com/report/github.com/binsquare/envmap">
30+
<img src="https://goreportcard.com/badge/github.com/binsquare/envmap" alt="Go Report Card">
31+
</a>
32+
<a href="https://github.com/binsquare/envmap/blob/main/LICENSE">
33+
<img src="https://img.shields.io/github/license/binsquare/envmap" alt="License: MIT">
34+
</a>
35+
</p>
436

537
## Installation
638

@@ -16,6 +48,10 @@ go install github.com/binsquare/envmap@latest
1648
# installs to /usr/local/bin/envmap by default
1749
curl -sSfL https://github.com/binsquare/envmap/releases/latest/download/envmap_$(uname -s)_$(uname -m).tar.gz \
1850
| tar -xz -C /usr/local/bin envmap
51+
52+
# (optional) verify checksum
53+
curl -sSfL https://github.com/binsquare/envmap/releases/latest/download/envmap_$(uname -s)_$(uname -m).tar.gz.sha256 \
54+
| sha256sum --check -
1955
```
2056

2157
If you install somewhere else, add that directory to your shell profile:
@@ -181,6 +217,14 @@ Generate keys with `envmap keygen` (256 bits from crypto/rand). Store the key fi
181217

182218
Contributions and bug reports are welcome—open an issue or submit a PR if you find a bug.
183219

220+
## Release workflow
221+
222+
1. Update changelog/version as needed.
223+
2. Create a tag following `vX.Y.Z` (or `vYYYY.MM.DD.HHMMSS`): `git tag v1.2.3`.
224+
3. Push the tag: `git push origin v1.2.3`.
225+
226+
The GitHub Actions release workflow builds macOS/Linux archives for both architectures, generates per-archive SHA-256 sums, and attaches everything to the GitHub release. Users can download the `.tar.gz` alongside the `.sha256` and run `sha256sum --check`.
227+
184228
## License
185229

186230
MIT

logo.svg

Lines changed: 25 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)