-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added dependency management with poetry; added github action "on tag …
…create release"
- Loading branch information
9FS
committed
Sep 19, 2023
1 parent
8042bd8
commit e91c0d6
Showing
6 changed files
with
1,180 additions
and
26 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: On Tag Create Release | ||
|
||
on: | ||
push: | ||
tags: | ||
# - "[0-9]+.[0-9]+.[0-9]+" | ||
- "*" | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get Current Date | ||
run: echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV # get date and save in environment variables, access with "${{ env.TODAY }}" | ||
|
||
- name: Create Release | ||
uses: actions/create-release@v1 # function that creates release, if fails with "Resource not accessible by integration": repository "Settings", "Actions", "General", "Workflow permissions", set "Read and write permissions", "Save" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # token is provided by Github Actions | ||
with: # parameters | ||
tag_name: ${{ github.ref }} # release tag | ||
release_name: ${{ env.TODAY }} Metric METAR for Discord ${{ github.ref }} # release title | ||
body: | ||
draft: false | ||
prerelease: false |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.