Commit 4fb3fc73 authored by Joel Collins's avatar Joel Collins
Browse files

Move into dist before hashing

parent ab48f69f
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"