mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
04063d664b
* fix bin folder and workflows as far its possible cleanup of dockerfile changed paths of scripts add lock file fix working directory for workflows fix windows bin fix travis (is travis used anyway?) fix package refs remove pnpm-lock file in root as these conflicts with the docker volume setup optimize comments use install again refactor prod image call to run fix --workspace can only be used inside a workspace correct comment try fix pipeline try fix pipeline for upgrade-from-latest-release install all deps smaller adjustments save update dockerfile remove workspace command fix run test command start repair latest release workflow start repair latest release workflow start repair latest release workflow further repairs * remove test plugin from docker compose
16 lines
No EOL
437 B
Bash
Executable file
16 lines
No EOL
437 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Specify the path to your package.json file
|
|
PACKAGE_JSON_PATH="./src/package.json"
|
|
|
|
# Check if the file exists
|
|
if [ ! -f "$PACKAGE_JSON_PATH" ]; then
|
|
echo "Error: package.json not found in the specified path."
|
|
exit 1
|
|
fi
|
|
|
|
# Read the version from package.json into a variable
|
|
VERSION=$(jq -r '.version' "$PACKAGE_JSON_PATH")
|
|
git push origin master develop $VERSION
|
|
git push --tags
|
|
(cd ../ether.github.com && git push) |