]> git.mxchange.org Git - friendica.git/blobdiff - .woodpecker/.releaser.yml
Changes:
[friendica.git] / .woodpecker / .releaser.yml
index de0d6ba0e5498436c9a4797f026c9166a05b7435..acac6ed2c47fb9453108921b168b9a385593a4a3 100644 (file)
@@ -9,7 +9,20 @@ depends_on:
 
 platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca
 
+skip_clone: true
+
 pipeline:
+  clone:
+    image: alpine/git
+    commands:
+      - git clone $CI_REPO_LINK .
+      - git checkout $CI_COMMIT_BRANCH
+      - git fetch origin $CI_COMMIT_REF
+      - git merge $CI_COMMIT_SHA
+    when:
+      repo: friendica/friendica
+      branch: stable
+      event: tag
   restore_cache:
     image: meltwater/drone-cache:dev
     settings:
@@ -35,6 +48,8 @@ pipeline:
       repo: friendica/friendica
       branch: stable
       event: tag
+    volumes:
+      - /etc/hosts:/etc/hosts
   create_artifacts:
     image: debian
     commands:
@@ -45,7 +60,7 @@ pipeline:
       - export RELEASE="friendica-full-$VERSION"
       - export ARTIFACT="$RELEASE.tar.gz"
       - tar
-        --transform "s,^,$RELEASE/,"
+        --transform "s,^,$RELEASE/,S"
         -X mods/release-list-exclude.txt
         -T mods/release-list-include.txt
         -cvzf ./build/$ARTIFACT