mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* rename frontend to web and update contributing guide * rename this time * fix build * restructure rust code * update documentation * update descriptions * Update CONTRIBUTING.md Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com> --------- Co-authored-by: Aiden McClelland <me@drbonez.dev> Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com>
13 lines
369 B
Bash
Executable File
13 lines
369 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FE_VERSION="$(cat web/package.json | grep '"version"' | sed 's/[ \t]*"version":[ \t]*"\([^"]*\)",/\1/')"
|
|
|
|
# TODO: Validate other version sources - backend/Cargo.toml, backend/src/version/mod.rs
|
|
|
|
VERSION=$FE_VERSION
|
|
|
|
if ! [ -f ./VERSION.txt ] || [ "$(cat ./VERSION.txt)" != "$VERSION" ]; then
|
|
echo -n "$VERSION" > ./VERSION.txt
|
|
fi
|
|
|
|
echo -n ./VERSION.txt |