Skip to content

Commit

Permalink
Merge pull request #8 from casper-ecosystem/update-release-with-file-2
Browse files Browse the repository at this point in the history
another test of gh-actions
  • Loading branch information
hoffmannjan authored Mar 4, 2021
2 parents 91399d0 + e0e0751 commit d062def
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish-casper-client-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
access: "public"
check-version: true
- run: echo ${{ github.ref }}
- name: Get latest release version number
id: get_version
uses: battila7/get-version-action@v2
- run: npm run build:umd
- run: mv dist/bundle.umd.js dist/casper-client-sdk.umd.${{ github.ref }}.js
- run: mv dist/bundle.umd.js dist/casper-client-sdk.umd.${{ steps.get_version.outputs.version }}.js
- uses: meeDamian/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: dist/casper-client-sdk.umd.${{ github.ref }}.js
files: dist/casper-client-sdk.umd.${{ steps.get_version.outputs.version }}.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-client-sdk",
"version": "1.0.26",
"version": "1.0.27",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"main": "dist/index.js",
Expand Down

0 comments on commit d062def

Please sign in to comment.