Skip to content

Bump golang from 1.23.1 to 1.23.2 in /golang #7

Bump golang from 1.23.1 to 1.23.2 in /golang

Bump golang from 1.23.1 to 1.23.2 in /golang #7

Workflow file for this run

---
name: Release projects
on:
push:
branches:
- main
paths:
- golang/Dockerfile
jobs:
repos:
strategy:
matrix:
repo: ["dyff", "retry", "termshot", "havener", "yft"]
runs-on: ubuntu-latest
steps:
- name: Install semver
run: |
wget -O /usr/local/bin/semver https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver
chmod +x /usr/local/bin/semver
semver --version
- name: Release homeport projects
env:
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: |
echo -e "\\x1b[93mProcessing ${{ matrix.repo }}\\x1b[0m"
CURRENT_VERSION="$(gh --repo homeport/${{ matrix.repo }} release view --json tagName --jq .tagName)"
echo "current release tag: $CURRENT_VERSION"
NEXT_VERSION="v$(semver bump patch "$CURRENT_VERSION")"
echo "bumping patch level to: $NEXT_VERSION"
gh --repo homeport/${{ matrix.repo }} \
release create "$NEXT_VERSION" \
--title="${{ matrix.repo }} release $NEXT_VERSION" \
--notes=""