Skip to content

chore: bump version to 1.0.3 #9

chore: bump version to 1.0.3

chore: bump version to 1.0.3 #9

Workflow file for this run

name: Maven deploy
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '>=1.21.0'
- run: go version
- name: Get Wails
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Install Wails Build Dependencies
run: sudo apt-get install -y build-essential libgtk-3-dev libwebkit2gtk-4.0-dev npm pkg-config
- name: Wails Doctor
run: wails doctor
- name: Fetch current Version based on Frontend
run: |
echo "version=$(grep -oP '(?<=version: ")[^"]*' frontend/src/staticContent/index.js)" >> $GITHUB_ENV
- name: Update version for Output File
run: |
sed -i "s/dev/${{ env.version }}/g" wails.json
- name: Install Wails Build (Windows)
run: wails build -platform windows/amd64
- name: Install Wails Build (Linux)
run: wails build -platform linux/amd64
- uses: actions/upload-artifact@v3
with:
name: app-v${{ env.version }}
path: build/bin/*