mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Functionality: * Add configuration to anchor position of messages (#60, 71 in Bugs.md). * Add output priorisation (#38, 68 in Bugs.md). * Print whether output is active in dump. Bug Fixes: * Fix gamma control (72 in Bugs.md). * Add missing commands to example config. * Add message_config to dump output. Example Scripts: * Add screenshot script. * Make example scripts standalone. Documentation: * Escape html tags in config man page. (#68, 69 in Bugs.md) * Improve README.md (#62, 70 in Bugs.md). * Improve SECURITY.md. * Add CONTRIBUTING.md (#62, 70 in Bugs.md). * FAQ: Add Firefox screenshare instructions for wayland. * FAQ: Add wlroots downgrading instructions for workaround in case of temporary wlroots incompatibility. * Update copyright notices to 2024. Development Tooling: * Add new gpg keys (signed by the old ones). * Add PR template. * Add dev-FAQ. * Remove now-unnecessary fanalyzer pragmas.
37 lines
1.2 KiB
Bash
Executable file
37 lines
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2023 - 2024, project-repo and the cagebreak contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if [[ -n ${MESON_SOURCE_ROOT} ]]
|
|
then
|
|
# shellcheck disable=2164
|
|
cd "${MESON_SOURCE_ROOT}"
|
|
fi
|
|
|
|
readonly gpg_id="${1}"
|
|
# shellcheck disable=2155
|
|
readonly old_tags=$(git tag| tail -1)
|
|
|
|
mv signatures/cagebreak.sig "signatures/${old_tags}-cagebreak.sig"
|
|
mv signatures/cagebreak.1.sig "signatures/${old_tags}-cagebreak.1.sig"
|
|
mv signatures/cagebreak-config.5.sig "signatures/${old_tags}-cagebreak-config.5.sig"
|
|
mv signatures/cagebreak-socket.7.sig "signatures/${old_tags}-cagebreak-socket.7.sig"
|
|
|
|
git add "signatures/${old_tags}-cagebreak.sig"
|
|
git add "signatures/${old_tags}-cagebreak.1.sig"
|
|
git add "signatures/${old_tags}-cagebreak-config.5.sig"
|
|
git add "signatures/${old_tags}-cagebreak-socket.7.sig"
|
|
|
|
rm -rf temp-sigs
|
|
meson setup temp-sigs -Dxwayland=true -Dman-pages=true --buildtype=release
|
|
ninja -C temp-sigs
|
|
|
|
gpg -u "${gpg_id}" --detach-sign temp-sigs/cagebreak
|
|
gpg -u "${gpg_id}" --detach-sign temp-sigs/cagebreak.1
|
|
gpg -u "${gpg_id}" --detach-sign temp-sigs/cagebreak-config.5
|
|
gpg -u "${gpg_id}" --detach-sign temp-sigs/cagebreak-socket.7
|
|
|
|
cp temp-sigs/*.sig signatures/
|
|
|
|
|
|
rm -rf temp-sigs
|