mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-23 10:35:45 +00:00
* test 1
* test 2
* remove accidental pasting in commit
* removed multi-platform for dev
* Revert "Add button to delete machine route"
This reverts commit 63041fd673.
* modernized release workflow
* update version
* Migration to Svelte 4
* cleaned up version injection
* moved build arg below FROM
* increment release
20 lines
No EOL
382 B
Bash
20 lines
No EOL
382 B
Bash
#!/bin/sh
|
|
set -x
|
|
|
|
# add dependencies
|
|
# git for cloning the repository
|
|
apk add --no-cache git
|
|
|
|
#clone the project
|
|
git clone ${PROJECT_URL} ${PROJECT_NAME}
|
|
cd ${PROJECT_NAME}
|
|
git checkout ${CHECKOUT_BRANCH}
|
|
|
|
# install the project
|
|
npm install
|
|
|
|
# inject the version number
|
|
sed -i "s/insert-version/${VERSION}/g" ./src/routes/settings.html/+page.svelte
|
|
|
|
# build the project
|
|
npm run build |