-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix release plugin to follow a normal workflow dispatch workflow * Add tag * Yaml formatting fix * Fix naming of passed policy token * Fix generic text in license file
- Loading branch information
1 parent
6732eb8
commit 40e035d
Showing
3 changed files
with
12 additions
and
3 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 |
---|---|---|
|
@@ -156,11 +156,20 @@ runs: | |
shell: bash | ||
working-directory: ${{ inputs.working-directory }} | ||
|
||
- name: Create tag | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git tag -a v${{ steps.metadata.outputs.plugin-version }} -m "Release v${{ steps.metadata.outputs.plugin-version }}" | ||
git push origin v${{ steps.metadata.outputs.plugin-version }} | ||
shell: bash | ||
|
||
- name: Create Github release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
generate_release_notes: true | ||
token: ${{ inputs.token }} | ||
tag_name: v${{ steps.metadata.outputs.plugin-version }} | ||
files: | | ||
${{ inputs.working-directory }}/${{ steps.metadata.outputs.archive }} | ||
${{ inputs.working-directory }}/${{ steps.metadata.outputs.archive-sha1sum }} |
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