Don't checkout master

This commit is contained in:
Dominique Leuenberger 2017-12-19 12:57:48 +01:00
parent c9a0027f8a
commit cff9f534ae
Signed by untrusted user: dimstar
GPG Key ID: E69F22089B497C99

View File

@ -13,6 +13,7 @@ cd "$OBS_PACKAGE"
# point _service file to SOURCE_DIR instead of remote
sed -i "s|$(cd "$SOURCE_DIR" && git remote get-url origin)|$SOURCE_DIR|" _service
sed -i "s|<param name=\"scm\">git</param>|<param name=\"scm\">git</param><param name=\"revision\">$(cd "$SOURCE_DIR" && git describe --all)</param>|" _service
rm *.obscpio
osc service disabledrun