-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Switch to using new release script
- Loading branch information
Showing
1 changed file
with
2 additions
and
46 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 |
---|---|---|
|
@@ -85,7 +85,7 @@ jobs: | |
uses: ./.github/actions/read-package-version | ||
|
||
- name: Create release (experimental new version) | ||
id: create_release_new | ||
id: create_release | ||
uses: ./.github/actions/create-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -95,49 +95,5 @@ jobs: | |
prerelease: ${{ steps.read_package_version.outputs.prerelease }} | ||
version: ${{ steps.read_package_version.outputs.version }} | ||
|
||
- name: Create release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: true | ||
prerelease: ${{ steps.read_package_version.outputs.prerelease }} | ||
|
||
- name: Upload Firefox asset | ||
id: upload_firefox_asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist-firefox-package/${{ steps.read_package_version.outputs.firefox_package_name }} | ||
asset_name: rikaichamp-${{ steps.read_package_version.outputs.version }}-firefox.zip | ||
asset_content_type: application/zip | ||
|
||
- name: Upload Chrome asset | ||
id: upload_chrome_asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist-chrome-package/${{ steps.read_package_version.outputs.chrome_package_name }} | ||
asset_name: rikaichamp-${{ steps.read_package_version.outputs.version }}-chrome.zip | ||
asset_content_type: application/zip | ||
|
||
- name: Upload source ZIP | ||
id: upload_source_asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist-src/rikaichamp-${{ steps.read_package_version.outputs.version }}-src.zip | ||
asset_name: rikaichamp-${{ steps.read_package_version.outputs.version }}-src.zip | ||
asset_content_type: application/zip | ||
|
||
- name: Show Release URL | ||
run: echo "View and publish the release at ${{ steps.create_release.outputs.html_url }}" | ||
run: echo "View and publish the release at ${{ steps.create_release.outputs.url }}" |