Skip to content

Prepare for v0.16.18 release #1463

Prepare for v0.16.18 release

Prepare for v0.16.18 release #1463

Workflow file for this run

on:
pull_request: {}
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Release
jobs:
build:
name: Create Release ${{ github.event_name == 'pull_request' && '(dry-run)' }}
if: github.repository == 'cilium/cilium-cli'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
# renovate: datasource=golang-version depName=go
go-version: 1.23.1
- name: Generate the artifacts
run: make release
- name: Create Release
if: github.event_name == 'push'
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: Release ${{ github.ref_name }}
draft: true
prerelease: false
generate_release_notes: true
files: 'release/*'