Skip to content

Bump version 4.1.0

Bump version 4.1.0 #5

Workflow file for this run

name: Build and release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build workflow artifact
run: bash build.sh
- name: Generate Changelog
run: |
prev_tag=$(git tag --sort=-creatordate | awk 'NR==2')
if [[ -n "$prev_tag" ]]; then
git log "${prev_tag}..HEAD" --oneline --no-merges --no-decorate > CHANGELOG
else
git log HEAD --oneline --no-merges --no-decorate > CHANGELOG
fi
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: build/github-repos.alfredworkflow
body_path: CHANGELOG
make_latest: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}