This repository has been archived by the owner on Feb 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Update pre-release create new file
- Loading branch information
Showing
10 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
RPCPcStatus.plugin.js | ||
RPCPcStatus.devlop.js | ||
RPCPcStatus.plugin.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ jobs: | |
id: bump_version | ||
run: | | ||
npm install -g version-bump-prompt | ||
bump $bumprelease packagedev.json | ||
bump $bumprelease ./pre-release/package.json | ||
- name: Install Dependencies | ||
run: npm install | ||
|
@@ -75,33 +75,33 @@ jobs: | |
- uses: nyaa8/package-version@v1 | ||
id: package_version | ||
with: | ||
path: "./packagedev.json" | ||
path: "./pre-release/package.json" | ||
follow-symlinks: "false" | ||
|
||
- name: Create Release | ||
if: steps.package_version.outcome == 'success' | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: v${{ env.PACKAGE_VERSION }} | ||
release_name: ${{ env.PACKAGE_VERSION }} | ||
body: "##### ${{ env.bumprelease }}" | ||
draft: false | ||
prerelease: true | ||
# - name: Create Release | ||
# if: steps.package_version.outcome == 'success' | ||
# id: create_release | ||
# uses: actions/create-release@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# tag_name: v${{ env.PACKAGE_VERSION }} | ||
# release_name: ${{ env.PACKAGE_VERSION }} | ||
# body: "##### ${{ env.bumprelease }}" | ||
# draft: false | ||
# prerelease: true | ||
|
||
- name: Upload Release Asset | ||
if: steps.create_release.outcome == 'success' | ||
id: upload_release_asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./RPCPcStatus.devlop.js | ||
asset_name: RPCPcStatus.plugin.js | ||
asset_content_type: text/javascript | ||
# - name: Upload Release Asset | ||
# if: steps.create_release.outcome == 'success' | ||
# id: upload_release_asset | ||
# uses: actions/upload-release-asset@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: ./pre-release/RPCPcStatus.plugin.js | ||
# asset_name: RPCPcStatus.plugin.js | ||
# asset_content_type: text/javascript | ||
|
||
- name: Automatically Commit Changed | ||
if: steps.upload_release_asset.outcome == 'success' | ||
|
@@ -114,3 +114,8 @@ jobs: | |
commit_user_email: [email protected] | ||
commit_author: GitHub Actions <[email protected]> | ||
skip_checkout: true | ||
|
||
- name: Create/update tag | ||
uses: rickstaa/action-create-tag@v1 | ||
with: | ||
tag: v${{ env.PACKAGE_VERSION }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
*.yml | ||
RPCPcStatus.plugin.js | ||
RPCPcStatus.devlop.js | ||
RPCPcStatus.plugin.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"build": { | ||
"watch": false, | ||
"output": "./", | ||
"output": "./pre-release", | ||
"debug": true, | ||
"filename": "RPCPcStatus.devlop.js" | ||
"filename": "RPCPcStatus.plugin.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters