Commit 4965aa55 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Update the flatpak manifest on each release.

parent e649f707
Pipeline #119903 passed with stages
in 2 minutes and 21 seconds
......@@ -109,6 +109,7 @@ if test "x$CI_COMMIT_TAG" != "x"
then
cd $SOURCE_TOP
TARFILE=$(ls dist/tarot-*.tar.gz)
SHASUM=$(sha256sum $TARFILE)
UPLOAD_STATUS=$(curl \
--request POST \
--header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
......@@ -133,5 +134,14 @@ then
--header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
--data "$DATA" \
--request POST \
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/releases"
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/releases" || exit 1
mkdir /root/.ssh || exit 1
echo "$SSH_KEY" /root/.ssh/id_rsa || exit 1
echo "$SSH_KEY_PUB" /root/.ssh/id_rsa.pub || exit 1
git clone git@framagit.org:play-tarot/tarot-flatpak.git || exit 1
cd tarot-flatpak || exit 1
./update-tarot.sh "$FULL_URL" "$SHASUM" || exit 1
git add . || exit 1
git commit -m"New version" || exit 1
git push || exit 1
fi
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tarot 0.4.2.83-ebdc-dirty\n"
"Report-Msgid-Bugs-To: vivien@planete-kraus.eu\n"
"POT-Creation-Date: 2019-03-14 20:22+0100\n"
"POT-Creation-Date: 2019-03-16 00:35+0100\n"
"PO-Revision-Date: 2019-03-14 19:58+0100\n"
"Last-Translator: Vivien Kraus <vivien@planete-kraus.eu>\n"
"Language-Team: French\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment