summaryrefslogtreecommitdiff
path: root/LICENSES
AgeCommit message (Expand)Author
2020-05-13licenses: License all meson files under CC0-1.0Laurent Pinchart
2020-05-11LICENSES: Add BSD-2-Clause licenseLaurent Pinchart
2020-04-15licenses: Move developer's certificate of origin to Documentation/Laurent Pinchart
2020-04-15licenses: Replace deprecated GPL-2.0 with GPL-2.0-onlyLaurent Pinchart
2020-04-15licenses: Remove unused LGPL-2.1Laurent Pinchart
2020-04-15licenses: Add missing licensesLaurent Pinchart
2020-04-15licenses: Rename license files according to REUSELaurent Pinchart
> set -e # Abort if we are not within the project root or the tree is not clean. if [ ! -e utils/gen-version.sh ] || [ ! -e .git ]; then echo "This release script must be run from the root of libcamera git tree." exit 1 fi if ! git diff-index --quiet HEAD; then echo "Tree must be clean to release." exit 1 fi # Identify current version components version=$(./utils/gen-version.sh) # Decide if we are here to bump major, minor, or patch release. case $1 in major|minor|patch) bump=$1; ;; *) echo "You must specify the version bump level: (major, minor, patch)" exit 1 ;; esac new_version=$(./utils/semver bump "$bump" "$version") echo "Bumping $bump" echo " Existing version is: $version" echo " New version is : $new_version" # Patch in the version to our meson.build sed -i -E "s/ version : '.*',/ version : '$new_version',/" meson.build # Commit the update git commit meson.build -esm "libcamera v$new_version" # Create a tag from that commit git show -s --format=%B | git tag "v$new_version" -s -F -