Skip to content

fix: Add ReplaceManyToMany function which replaces associations #39

fix: Add ReplaceManyToMany function which replaces associations

fix: Add ReplaceManyToMany function which replaces associations #39

Workflow file for this run

name: Release
on:
pull_request:
types:
- closed
branches:
- main
paths:
- 'example/**'
- 'options/**'
- 'plugin/**'
- 'proto/**'
- 'main.go'
- 'go.mod'
- 'go.sum'
jobs:
release:
if: github.event.pull_request.merged == true
name: Make a Release
runs-on: ubuntu-latest
steps:
- name: Dump Context
uses: crazy-max/ghaction-dump-context@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go With Caching
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Create executable
shell: bash
run: |
go build -race
- name: Get semver-tags
run: |
go install github.com/catalystsquad/semver-tags@latest
- name: Semver Tags
id: semver-tags
working-directory: ./
run: |
semver-tags run --github_action | yq -P -o=json "."
- name: Make Release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_NAME: ${{ steps.semver-tags.outputs.new_release_git_tag }}
run: |
./.github/scripts/make_release.sh "${RELEASE_NAME}"