Skip to content

Update version to 1.0.1 #3

Update version to 1.0.1

Update version to 1.0.1 #3

name: Release Production
on:
push:
tags-ignore:
- "dev-*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create tar archive
run: |
tar -cvf release.tar --exclude-from=.tarignore *
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: release.tar
asset_name: WaterLineControl.tar
asset_content_type: application/gzip