releasing
This commit is contained in:
parent
e18d06fbe5
commit
36e0df4812
2 changed files with 21 additions and 21 deletions
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
|
@ -43,8 +43,8 @@ jobs:
|
||||||
- name: build em
|
- name: build em
|
||||||
run: |
|
run: |
|
||||||
shadow-cljs release frontend
|
shadow-cljs release frontend
|
||||||
sha256sum public/js/main.js > target/dda-masto-embedd.js.sha256
|
sha256sum public/js/main.js > target/dda-masto-embed.js.sha256
|
||||||
sha512sum public/js/main.js > target/dda-masto-embedd.js.sha512
|
sha512sum public/js/main.js > target/dda-masto-embed.js.sha512
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
@ -57,8 +57,8 @@ jobs:
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
- name: Upload masto-embedd.js
|
- name: Upload masto-embed.js
|
||||||
id: upload-masto-embedd-js
|
id: upload-masto-embed-js
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -68,38 +68,38 @@ jobs:
|
||||||
asset_name: dda-masto-embed.js
|
asset_name: dda-masto-embed.js
|
||||||
asset_content_type: application/json
|
asset_content_type: application/json
|
||||||
|
|
||||||
- name: Upload masto-embedd.js.sha256
|
- name: Upload masto-embed.js.sha256
|
||||||
id: upload-masto-embedd-js-sha256
|
id: upload-masto-embed-js-sha256
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
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: target/dda-masto-embedd.js.sha256
|
asset_path: target/dda-masto-embed.js.sha256
|
||||||
asset_name: dda-masto-embedd.js.sha256
|
asset_name: dda-masto-embed.js.sha256
|
||||||
asset_content_type: application/json
|
asset_content_type: application/json
|
||||||
|
|
||||||
- name: Upload masto-embedd.js.sha512
|
- name: Upload masto-embed.js.sha512
|
||||||
id: upload-masto-embedd-js-sha512
|
id: upload-masto-embed-js-sha512
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
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: target/dda-masto-embedd.js.sha512
|
asset_path: target/dda-masto-embed.js.sha512
|
||||||
asset_name: dda-masto-embedd.js.sha512
|
asset_name: dda-masto-embed.js.sha512
|
||||||
asset_content_type: application/json
|
asset_content_type: application/json
|
||||||
|
|
||||||
- name: upload to npm
|
- name: upload to npm
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/npm-build
|
mkdir -p target/npm-build/dda-masto-embed
|
||||||
cp public/js/main.js target/npm-build/dda-masto-embedd/dda-masto-embedd.js
|
cp public/js/main.js target/npm-build/dda-masto-embed/dda-masto-embed.js
|
||||||
cp target/dda-masto-embedd.js.sha256 target/npm-build/dda-masto-embedd/
|
cp target/dda-masto-embed.js.sha256 target/npm-build/dda-masto-embed/
|
||||||
cp target/dda-masto-embedd.js.sha512 target/npm-build/dda-masto-embedd/
|
cp target/dda-masto-embed.js.sha512 target/npm-build/dda-masto-embed/
|
||||||
cp package.json target/npm-build/dda-masto-embedd/
|
cp package.json target/npm-build/dda-masto-embed/
|
||||||
cp README.md target/npm-build/dda-masto-embedd/
|
cp README.md target/npm-build/dda-masto-embed/
|
||||||
cp -r doc target/npm-build/dda-masto-embedd/
|
cp -r doc target/npm-build/dda-masto-embed/
|
||||||
cp LICENSE target/npm-build/dda-masto-embedd/
|
cp LICENSE target/npm-build/dda-masto-embed/
|
||||||
npm publish target/npm-build --access public
|
npm publish target/npm-build --access public
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "dda-masto-embed",
|
"name": "dda-masto-embed",
|
||||||
"author": "meissa GmbH",
|
"author": "meissa GmbH",
|
||||||
"version": "0.1.4",
|
"version": "0.1.5",
|
||||||
"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