fix build
This commit is contained in:
parent
98c6814297
commit
5707750913
3 changed files with 7 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -45,8 +45,8 @@ jobs:
|
||||||
- name: build em
|
- name: build em
|
||||||
run: |
|
run: |
|
||||||
shadow-cljs release frontend
|
shadow-cljs release frontend
|
||||||
sha256sum public/main.js > target/dda-masto-embedd.js.sha256
|
sha256sum public/js/main.js > target/dda-masto-embedd.js.sha256
|
||||||
sha512sum public/main.js > target/dda-masto-embedd.js.sha512
|
sha512sum public/js/main.js > target/dda-masto-embedd.js.sha512
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
@ -66,7 +66,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
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_name: dda-masto-embed.js
|
||||||
asset_content_type: application/json
|
asset_content_type: application/json
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/npm-build
|
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.sha256 target/npm-build/
|
||||||
cp target/dda-masto-embedd.js.sha512 target/npm-build/
|
cp target/dda-masto-embedd.js.sha512 target/npm-build/
|
||||||
cp package.json target/npm-build/
|
cp package.json target/npm-build/
|
||||||
|
|
|
@ -58,11 +58,12 @@ shadow-cljs compile test
|
||||||
```
|
```
|
||||||
#adjust version
|
#adjust version
|
||||||
vi package.json
|
vi package.json
|
||||||
|
git commit -am 'releasing'
|
||||||
git tag -am 'releasing' <version>
|
git tag -am 'releasing' <version>
|
||||||
git push --follow-tags
|
git push --follow-tags
|
||||||
|
|
||||||
# Bump version
|
# Bump version
|
||||||
vi shadow-cljs.edn
|
vi package.json
|
||||||
|
|
||||||
git commit -am "version bump" && git push
|
git commit -am "version bump" && git push
|
||||||
```
|
```
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "dda-masto-embed",
|
"name": "dda-masto-embed",
|
||||||
"author": "meissa GmbH",
|
"author": "meissa GmbH",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3.dev",
|
||||||
"homepage": "https://github.com/DomainDrivenArchitecture/dda-masto-embed",
|
"homepage": "https://github.com/DomainDrivenArchitecture/dda-masto-embed",
|
||||||
"repository": "https://github.com/DomainDrivenArchitecture/dda-masto-embed",
|
"repository": "https://github.com/DomainDrivenArchitecture/dda-masto-embed",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
Loading…
Reference in a new issue