Browse Source

fix

tags/v0.0.59
Peter Vivell 6 years ago
parent
commit
824883bc54
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      drone.yml

+ 2
- 1
drone.yml View File

@@ -59,7 +59,7 @@ steps:
59 59
   commands:
60 60
 
61 61
     - PKG_NAME="${DRONE_REPO_NAME}" &&
62
-      PKG_VERSION="$(git describe)" &&
62
+      PKG_VERSION="$(git describe --always)" &&
63 63
       PKG_DEB_ARCHIVE="$${PKG_NAME}_$${PKG_VERSION}.orig.tar.xz" &&
64 64
       PKG_DEB_ARCHIVE_ROOT="${PKG_NAME}-${PKG_VERSION}" &&
65 65
       tar --exclude='./.*' --exclude='debian' 
@@ -67,6 +67,7 @@ steps:
67 67
         --transform "s/\./$${PKG_DEB_ARCHIVE_ROOT}/" 
68 68
         -cJvf "$${PKG_DEB_ARCHIVE}" .
69 69
 
70
+      # https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage
70 71
     - PKG_RELEASE_DIR="release" &&
71 72
       PKG_DIST_DIR="dist" &&
72 73
       PKG_BUILDHOST_ARCH="${DRONE_RUNNER_ARCH}" &&

Loading…
Cancel
Save