fix build

This commit is contained in:
jem 2020-07-08 20:42:46 +02:00
parent 98c6814297
commit 5707750913
3 changed files with 7 additions and 6 deletions

View file

@ -45,8 +45,8 @@ jobs:
- name: build em
run: |
shadow-cljs release frontend
sha256sum public/main.js > target/dda-masto-embedd.js.sha256
sha512sum public/main.js > target/dda-masto-embedd.js.sha512
sha256sum public/js/main.js > target/dda-masto-embedd.js.sha256
sha512sum public/js/main.js > target/dda-masto-embedd.js.sha512
- name: Create Release
id: create_release
@ -66,7 +66,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: public/main.js
asset_path: public/js/main.js
asset_name: dda-masto-embed.js
asset_content_type: application/json
@ -97,7 +97,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
mkdir -p target/npm-build
cp public/main.js target/npm-build/dda-masto-embedd.js
cp public/js/main.js target/npm-build/dda-masto-embedd.js
cp target/dda-masto-embedd.js.sha256 target/npm-build/
cp target/dda-masto-embedd.js.sha512 target/npm-build/
cp package.json target/npm-build/

View file

@ -58,11 +58,12 @@ shadow-cljs compile test
```
#adjust version
vi package.json
git commit -am 'releasing'
git tag -am 'releasing' <version>
git push --follow-tags
# Bump version
vi shadow-cljs.edn
vi package.json
git commit -am "version bump" && git push
```

View file

@ -1,7 +1,7 @@
{
"name": "dda-masto-embed",
"author": "meissa GmbH",
"version": "0.1.2",
"version": "0.1.3.dev",
"homepage": "https://github.com/DomainDrivenArchitecture/dda-masto-embed",
"repository": "https://github.com/DomainDrivenArchitecture/dda-masto-embed",
"license": "Apache-2.0",