Skip to content

Commit

Permalink
Merge pull request #28 from AlbericoD/bugfix/actions
Browse files Browse the repository at this point in the history
added github token
  • Loading branch information
AlbericoD authored Oct 25, 2021
2 parents bac2228 + e4b896b commit d0bd3ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
run: |
gh release create ${{ env.VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: "v${{fromJson(steps.read_current_version.outputs.packageJson).version}}"

- name: 🆕 Create Release Notes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cra-template-overwolf-typescript-redux",
"version": "2.2.8",
"version": "2.2.9",
"description": "This is the official [Overwolf TypeScript Redux](https://github.com/AlbericoD/overwolf-modern-react-boilerplate) template for [Create React App](https://github.com/facebook/create-react-app).",
"main": "template.json",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions template/.github/workflows/overwolf-opk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
gh release create ${{ env.VERSION }} -t "${{ env.NAME }}" ${{ env.FILES }}
echo "${{fromJson(steps.read_current_version.outputs.packageJson).version}}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: "v${{fromJson(steps.read_current_version.outputs.packageJson).version}}"
NAME: "App ${{fromJson(steps.read_current_version.outputs.packageJson).name}} v${{fromJson(steps.read_current_version.outputs.packageJson).version}}"
FILES: dist-opk.v${{fromJson(steps.read_current_version.outputs.packageJson).version}}.opk dist.v${{fromJson(steps.read_current_version.outputs.packageJson).version}}.zip
Expand Down

0 comments on commit d0bd3ab

Please sign in to comment.