mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
21 lines
444 B
Bash
Executable file
21 lines
444 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
CURRENT_VERSION=$1;
|
|
|
|
set -ex
|
|
|
|
rm -rf target;
|
|
mkdir -p target/classes;
|
|
mkdir -p target/dist;
|
|
echo "$CURRENT_VERSION" > target/classes/version.txt;
|
|
cp ../CHANGES.md target/classes/changelog.md;
|
|
|
|
clojure -T:build jar;
|
|
mv target/penpot.jar target/dist/penpot.jar
|
|
cp scripts/run.template.sh target/dist/run.sh;
|
|
cp scripts/manage.template.sh target/dist/manage.sh;
|
|
chmod +x target/dist/run.sh;
|
|
chmod +x target/dist/manage.sh;
|
|
|
|
|
|
|