Move into dist before hashing
This commit is contained in:
parent
ab48f69fdc
commit
4fb3fc735e
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ build:
|
|||
# Build distribution archive
|
||||
- mkdir -p dist
|
||||
- tar -c --exclude-vcs --exclude-from .tarignore -vzf dist/openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz .
|
||||
- sha256sum dist/openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz > dist/openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz.sha256
|
||||
- cd dist/
|
||||
- sha256sum openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz > openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz.sha256
|
||||
|
||||
artifacts:
|
||||
name: "dist"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue