Skip to content

Commit

Permalink
added dependency management with poetry; added github action "on tag …
Browse files Browse the repository at this point in the history
…create release"
  • Loading branch information
9FS committed Sep 19, 2023
1 parent 8042bd8 commit e91c0d6
Show file tree
Hide file tree
Showing 6 changed files with 1,180 additions and 26 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/on-tag-create-release.yaml
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
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

Loading

0 comments on commit e91c0d6

Please sign in to comment.