Move files to correct folders

This commit is contained in:
Johannes Marbach
2024-01-02 20:32:29 +01:00
parent 62e2108d0a
commit 0738a693fe
122 changed files with 226 additions and 4213 deletions

View File

@@ -1,28 +0,0 @@
#!/bin/bash
if [[ -z "$1" ]]; then
echo "Error: No version number provided"
exit 1
fi
if [[ -z "$2" ]]; then
echo "Error: No GitLab API token provided"
exit 1
fi
if ! grep "## $1" CHANGELOG.md > /dev/null; then
echo "Error: No entry in CHANGELOG.md for version $1"
exit 1
fi
if ! grep -E "^\s*version:\s*'$1'" meson.build > /dev/null; then
echo "Error: Version $1 differs from version in meson.build"
exit 1
fi
git tag "$1"
git push --tags
./archive.sh "$2"
echo "Now create a release for https://gitlab.com/cherrypicker/unl0kr/-/tags/$1 and attach the uploaded archive"