Compare commits
4 Commits
digest-ver
...
checkout
Author | SHA1 | Date | |
---|---|---|---|
d68444be9e | |||
f7bc8efabe | |||
f5284ba725 | |||
293d3ff558 |
@ -1,5 +1,7 @@
|
|||||||
# abra x.x.x (UNRELEASED)
|
# abra x.x.x (UNRELEASED)
|
||||||
|
|
||||||
|
# abra 0.6.0 (2021-03-17)
|
||||||
|
|
||||||
- Show version and digest of app if labelled ([98e674b8e8](https://git.autonomic.zone/coop-cloud/abra/commit/98e674b8e83458a83dcbf331e8e34c7188559c4a))
|
- Show version and digest of app if labelled ([98e674b8e8](https://git.autonomic.zone/coop-cloud/abra/commit/98e674b8e83458a83dcbf331e8e34c7188559c4a))
|
||||||
- Implement basic version checking on deployment ([#82](https://git.autonomic.zone/coop-cloud/abra/issues/82))
|
- Implement basic version checking on deployment ([#82](https://git.autonomic.zone/coop-cloud/abra/issues/82))
|
||||||
- New `app-catalogue.sh` script to auto-generate app list for documentation ([f163d4b](https://git.autonomic.zone/coop-cloud/abra/commit/f163d4b0fa920232e9d995a22d20fe78b174b3a9))
|
- New `app-catalogue.sh` script to auto-generate app list for documentation ([f163d4b](https://git.autonomic.zone/coop-cloud/abra/commit/f163d4b0fa920232e9d995a22d20fe78b174b3a9))
|
||||||
|
@ -42,7 +42,11 @@ To update the development version, run `abra upgrade --dev`.
|
|||||||
|
|
||||||
## Hack
|
## Hack
|
||||||
|
|
||||||
It's written in Bash version 4 or greater! Just open up the `abra` file and start hacking. Then you can run it in place with `./abra`. The command-line interface is generated via [docopt](http://docopt.org/). If you add arguments then you need to run `make docopt` ro regenerate the parser.
|
It's written in Bash version 4 or greater!
|
||||||
|
|
||||||
|
Install it via `curl https://install.abra.autonomic.zone | bash -s -- --dev`, then you can hack on the source in `~/.abra/src`.
|
||||||
|
|
||||||
|
The command-line interface is generated via [docopt](http://docopt.org/). If you add arguments then you need to run `make docopt` ro regenerate the parser.
|
||||||
|
|
||||||
Please remember to update the [CHANGELOG](./CHANGELOG.md) when you make a change.
|
Please remember to update the [CHANGELOG](./CHANGELOG.md) when you make a change.
|
||||||
|
|
||||||
|
2
abra
2
abra
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
GIT_URL="https://git.autonomic.zone/coop-cloud/"
|
GIT_URL="https://git.autonomic.zone/coop-cloud/"
|
||||||
ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"
|
ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"
|
||||||
ABRA_VERSION="0.5.0"
|
ABRA_VERSION="0.6.0"
|
||||||
ABRA_BACKUP_DIR="${ABRA_BACKUP_DIR:-$ABRA_DIR/backups}"
|
ABRA_BACKUP_DIR="${ABRA_BACKUP_DIR:-$ABRA_DIR/backups}"
|
||||||
ABRA_VENDOR_DIR="$ABRA_DIR/vendor"
|
ABRA_VENDOR_DIR="$ABRA_DIR/vendor"
|
||||||
YQ="$ABRA_VENDOR_DIR/yq"
|
YQ="$ABRA_VENDOR_DIR/yq"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ABRA_VERSION="0.5.0"
|
ABRA_VERSION="0.6.0"
|
||||||
GIT_URL="https://git.autonomic.zone/coop-cloud/abra"
|
GIT_URL="https://git.autonomic.zone/coop-cloud/abra"
|
||||||
ABRA_SRC="$GIT_URL/raw/tag/$ABRA_VERSION/abra"
|
ABRA_SRC="$GIT_URL/raw/tag/$ABRA_VERSION/abra"
|
||||||
|
|
||||||
@ -16,6 +16,7 @@ function install_abra_dev {
|
|||||||
if [[ ! -d "$HOME/.abra/src" ]]; then
|
if [[ ! -d "$HOME/.abra/src" ]]; then
|
||||||
git clone "$GIT_URL" "$HOME/.abra/src"
|
git clone "$GIT_URL" "$HOME/.abra/src"
|
||||||
fi
|
fi
|
||||||
|
( cd "$HOME/.abra/src" && git pull origin main && cd -)
|
||||||
mkdir -p "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
ln -sf "$HOME/.abra/src/abra" "$HOME/.local/bin/abra"
|
ln -sf "$HOME/.abra/src/abra" "$HOME/.local/bin/abra"
|
||||||
echo "abra installed to $HOME/.local/bin/abra (development bleeding edge)"
|
echo "abra installed to $HOME/.local/bin/abra (development bleeding edge)"
|
||||||
|
Reference in New Issue
Block a user