We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
obs-release.sh
1 parent 9918012 commit 4c363b1Copy full SHA for 4c363b1
packages/obs-release.sh
@@ -48,8 +48,6 @@ else
48
pushd "${LOCAL_BRANCH_FOLDER}"
49
fi
50
51
-previous_version=$(grep -o -P '(?<=version_current ).*' crystal.spec)
52
-
53
if [ "$PACKAGE" != "crystal" ]; then
54
sed -i -e "s/^Version:.*/Version: ${VERSION}/" *.spec
55
@@ -74,7 +72,7 @@ fi
74
72
75
73
sed -i -e "s/^Depends: crystal[^-]*/Depends: crystal${VERSION%.*}/" debian.control
76
77
-sed -i -r -e "s/((Provides|Conflicts|Replaces): .*) \((=|<<).*\)/\\1 (${VERSION%.*})/" debian.control
+sed -i -r -e "s/((Provides|Conflicts|Replaces): .* \((=|<<)).*\)/\\1 ${VERSION%.*})/" debian.control
78
79
# Commit changes to OBS
80
message="Release $VERSION"
0 commit comments