diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f66cda6 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml new file mode 100644 index 0000000..50c8ad5 --- /dev/null +++ b/.github/workflows/test-release.yml @@ -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 }} diff --git a/pyproject.toml b/pyproject.toml index 11bb85d..1e5421a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "execexam" version = "0.3.2" description = "ExecExam runs executable examinations, providing feedback and assistance!" -authors = ["Hemani Alaparthi ","Gregory M. Kapfhammer "] +authors = ["Hemani Alaparthi ","Pallas-Athena Cain ","Gregory M. Kapfhammer "] readme = "README.md" [tool.poetry.scripts]