Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricioszabo/clj-lib-deployer
A simple "Clojure library deployer" written in Babashka
https://github.com/mauricioszabo/clj-lib-deployer
Last synced: about 3 hours ago
JSON representation
A simple "Clojure library deployer" written in Babashka
- Host: GitHub
- URL: https://github.com/mauricioszabo/clj-lib-deployer
- Owner: mauricioszabo
- Created: 2020-12-17T13:46:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T19:28:41.000Z (about 4 years ago)
- Last Synced: 2024-11-09T05:31:51.877Z (about 2 months ago)
- Language: BitBake
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clojure Lib Deployer
A simple "Clojure library deployer" written in Babashka## Usage
Configure your CI as normal. Then, export your GPG keys:
```bash
# To export the "owner trust":
gpg --export-ownertrust | base64 --wrap=0
# To export the "secret key":
gpg --export-secret-keys | base64 --wrap=0
```Then export these two base64-encoded elements into vars `GPG_OWNERTRUST` and `GPG_SECRET_KEYS`, in this order. Then, find how your CI exposes tags,
and export the tag name as `TAG`:```bash
# To expose CircleCI tag:
export TAG=$CIRCLE_TAG
```Finally, get the current deployer for your tool and use it:
```bash
# If your project uses lein:
curl https://raw.githubusercontent.com/mauricioszabo/clj-lib-deployer/master/deploy-lein.bb -o deploy
curl -L https://github.com/borkdude/babashka/releases/download/v0.2.5/babashka-0.2.5-linux-amd64.zip -o bb.zip
unzip bb.zip
sudo mv bb /usr/bin
chmod +x deploy
./deploy
```