Skip to content

adding version.py

adding version.py #1

Workflow file for this run

name: Create Release
on:
push:
tags:
- "v*" # Trigger on tags starting with 'v'
jobs:
build:
name: Create Release
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Zip Source Code
run: |
7z a source_code.zip . -xr!.git -xr!.github
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./source_code.zip
asset_name: source_code.zip
asset_content_type: application/zip