Check out the latest tag on update
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
11ec4e1b8f
commit
e66bcb64a4
1 changed files with 4 additions and 2 deletions
|
@ -41,8 +41,10 @@ you _may_ need to specify `--flavour`, in the same way as
|
||||||
Run as the `akkoma` user:
|
Run as the `akkoma` user:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pull in new changes
|
# fetch changes
|
||||||
git pull
|
git fetch
|
||||||
|
# check out the latest tag
|
||||||
|
git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
|
||||||
|
|
||||||
# Run with production configuration
|
# Run with production configuration
|
||||||
export MIX_ENV=prod
|
export MIX_ENV=prod
|
||||||
|
|
Loading…
Reference in a new issue