diff options
author | Robert Kaussow <mail@thegeeklab.de> | 2022-08-30 22:20:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 22:20:49 +0300 |
commit | 6f0f82757a3c62ddf48579e91518497641c8f654 (patch) | |
tree | f56d441aca72b75cea09c7c2d74ee48a1d1cc069 /.drone.yml | |
parent | 0345c47b7c6f8b726f6ba0c0cc0edaa329236539 (diff) |
ci: improve version file and tarball creation (#301)
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -102,17 +102,21 @@ steps: - name: assets image: node:lts commands: + - git fetch -tq - npm install > /dev/null - npm run build + - cat VERSION environment: FORCE_COLOR: true NPM_CONFIG_LOGLEVEL: error - name: package - image: thegeeklab/alpine-tools + image: node:lts commands: - - echo "${DRONE_TAG:-latest}" > VERSION - - tar -zcvf dist/hugo-geekblog.tar.gz -X .tarignore . + - npm run pack + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error - name: checksum image: thegeeklab/alpine-tools @@ -283,6 +287,6 @@ depends_on: --- kind: signature -hmac: edaa3b55fd0fa9e3ee94e26ec12386e405da77c12f648862d8cdf5a86ece2adf +hmac: a3c1af6ac4b291e8aa1e7f9cbccb1a7c7edbf75163a36ed811c0694227a4f792 ... |