mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-14 17:30:45 +01:00
19 lines
355 B
Bash
Executable File
19 lines
355 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: make_release.sh VERSION"
|
|
exit 1
|
|
fi
|
|
|
|
VERSION=$1
|
|
|
|
sed "s/__version__ = .*/__version__ = \"$VERSION\"/g" -i podman_compose.py
|
|
git add podman_compose.py
|
|
git commit -m "Release $VERSION"
|
|
|
|
git tag "v$VERSION" -m "v$VERSION" -s
|
|
|
|
git push ssh://github.com/containers/podman-compose main "v$VERSION"
|