Skip to content

Merge pull request #2124 from Nordix/peppi-lotta/bump-ipam-to-1.9.0-b… #67

Merge pull request #2124 from Nordix/peppi-lotta/bump-ipam-to-1.9.0-b…

Merge pull request #2124 from Nordix/peppi-lotta/bump-ipam-to-1.9.0-b… #67

Workflow file for this run

name: release
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*"
permissions: {}
jobs:
build:
name: tag release
runs-on: ubuntu-latest
permissions:
contents: write
if: github.repository == 'metal3-io/cluster-api-provider-metal3'
steps:
- name: Export RELEASE_TAG var
run: echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
- name: checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '1.22'
- name: Generate release artifacts and notes
run: |
make release
- name: Release
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
with:
draft: true
files: out/*
body_path: releasenotes/${{ env.RELEASE_TAG }}.md