no cljs prerelease

This commit is contained in:
jem 2021-03-17 09:17:08 +01:00
parent 1a8d03c78f
commit b688f76b92

View file

@ -37,9 +37,9 @@ test-clj:
script: script:
- lein test - lein test
report: report-frontend:
<<: *cljs <<: *cljs
stage: build_and_test stage: package
script: script:
- mkdir -p target - mkdir -p target
- shadow-cljs run shadow.cljs.build-report frontend target/build-report.html - shadow-cljs run shadow.cljs.build-report frontend target/build-report.html
@ -82,15 +82,6 @@ sast:
include: include:
- template: Security/SAST.gitlab-ci.yml - template: Security/SAST.gitlab-ci.yml
upload-cljs-prerelease:
<<: *cljs
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null'
script:
- sed -i 's|SNAPSHOT|'$(date +"%Y%m%d%H%M%S")'|' ./target/npm-build/package.json
- npm publish ./target/npm-build --access public
upload-clj-prerelease: upload-clj-prerelease:
<<: *clj <<: *clj
stage: upload stage: upload