mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-28 13:00:33 +00:00
df6f398efc
* snap: Store media in the proper directory * snap/set-environment: Exit successfully when not enabled. This lets us unconditionally run things under `set-environment` and let it handle the case where the necessary configuration hasn't yet been set. * snap: Set the version based on git tags This will make the version something like `0.3.0-alpha-2-65-g29178aa` at the moment, as that was the most recent tag, but the commit tagged as `0.4.0` will get *that* as the version * snap: Force-install cargo-web This makes building the *second* time work; otherwise there might be an existing cargo-web install, and cargo will refuse to overwrite it.
4 lines
87 B
Bash
4 lines
87 B
Bash
#!/bin/sh
|
|
|
|
cd ${SNAP}
|
|
exec ./set-environment bin/plm migration run --path ${SNAP_DATA}
|