Federated blogging application, thanks to ActivityPub https://joinplu.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
568 B

  1. #!/bin/bash
  2. set -euo pipefail
  3. version="$1"
  4. repo="$2"
  5. builddir="$3"
  6. pkg="$4"
  7. build () {
  8. features="$1"
  9. cargo clean
  10. wasm-pack build --target web --release plume-front
  11. cargo build --release --no-default-features --features="${features}" --package=plume-cli
  12. cargo build --release --no-default-features --features="${features}"
  13. ./script/generate_artifact.sh
  14. }
  15. git clone $repo $builddir
  16. cd $builddir
  17. git checkout $version
  18. mkdir -p $pkg
  19. build postgres
  20. mv plume.tar.gz /pkg/plume-postgres.tar.gz
  21. build sqlite
  22. mv plume.tar.gz /pkg/plume-sqlite.tar.gz