mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
include VERSION file in build tarball
This commit is contained in:
parent
e60c6e4e17
commit
9386ccee14
@ -24,14 +24,14 @@ steps:
|
||||
image: alpine
|
||||
commands:
|
||||
- mkdir dist/
|
||||
- tar -zcvf dist/hugo-geekdoc.tar.gz . --exclude='.git*' --exclude='.drone*' --exclude='dist' --exclude='.git*' --exclude='example*' --exclude='src' --exclude='gulp*' --exclude='package*' --exclude='node*'
|
||||
- echo "${DRONE_TAG:-latest}" > VERSION
|
||||
- cat VERSION
|
||||
- tar -zcvf dist/hugo-geekdoc.tar.gz . --exclude='.git*' --exclude='.drone*' --exclude='dist' --exclude='.git*' --exclude='example*' --exclude='src' --exclude='gulp*' --exclude='package*' --exclude='node*' --exclude='local*'
|
||||
|
||||
- name: checksum
|
||||
image: alpine
|
||||
commands:
|
||||
- cd dist/ && sha256sum * > ../sha256sum.txt
|
||||
- cd ../ && ls -lh dist/
|
||||
- cat sha256sum.txt
|
||||
|
||||
- name: publish
|
||||
image: plugins/github-release
|
||||
|
Loading…
Reference in New Issue
Block a user