-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from PCain02/auto-release
Feat: add release and test-release workflow
- Loading branch information
Showing
3 changed files
with
65 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Release workflow | ||
|
||
name: Create Release | ||
|
||
# Use more columns for terminal output | ||
env: | ||
COLUMNS: 120 | ||
PYTHONIOENCODING: utf8 | ||
|
||
# trigger the release of the | ||
# execexam package to GitHub | ||
# with any tag starting with 'v' | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create Release with Auto-Generated Notes | ||
uses: actions/create-release@v1 | ||
with: | ||
tag_name: ${{ github.ref_name }} | ||
release_name: "${{ github.ref_name }}" | ||
generate_release_notes: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Test Release workflow | ||
|
||
name: Create Test Release | ||
|
||
# Use more columns for terminal output | ||
env: | ||
COLUMNS: 120 | ||
PYTHONIOENCODING: utf8 | ||
|
||
# trigger the test release of the | ||
# execexam package to GitHub | ||
# with any tag starting with 'r' | ||
on: | ||
push: | ||
tags: | ||
- 't*' | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create Release with Auto-Generated Notes | ||
uses: actions/create-release@v1 | ||
with: | ||
tag_name: ${{ github.ref_name }} | ||
release_name: "${{ github.ref_name }}" | ||
generate_release_notes: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "execexam" | ||
version = "0.3.2" | ||
description = "ExecExam runs executable examinations, providing feedback and assistance!" | ||
authors = ["Hemani Alaparthi <[email protected]>","Gregory M. Kapfhammer <[email protected]>"] | ||
authors = ["Hemani Alaparthi <[email protected]>","Pallas-Athena Cain <[email protected]>","Gregory M. Kapfhammer <[email protected]>"] | ||
readme = "README.md" | ||
|
||
[tool.poetry.scripts] | ||
|