Skip to content

Update: updated github workflow, removed deprecated flag #44

Update: updated github workflow, removed deprecated flag

Update: updated github workflow, removed deprecated flag #44

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build-and-release:
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.21
uses: actions/setup-go@v2
with:
go-version: '1.21' # Make sure this matches the version in your go.mod file
- name: Run Go Mod Tidy
run: |
cd backend
go mod tidy
- name: Bump version and tag
id: bump_version
run: |
chmod +x .github/scripts/bump_version.sh
.github/scripts/bump_version.sh
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --clean --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}