Skip to content

Bumping release to 0.10.3 #18

Bumping release to 0.10.3

Bumping release to 0.10.3 #18

Workflow file for this run

# Upon pushing to the release branch a new tag will be created
# in preparation for the release; then a new tarball will be created;
# and finally a Release will be generated.
#
# Copyright (c) 2022 AlertAvert.com. All rights reserved.
# Author: Marco Massenzio ([email protected])
#
name: Release
on:
push:
branches:
- release
env:
AUTHOR: ${{ github.event.pusher.name }}
EMAIL: ${{ github.event.pusher.email }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create release tag
run: |
git config user.name "$AUTHOR"
git config user.email "<$EMAIL>"
TAG=$(make version)
git tag -a $TAG -m "Release $TAG"
git push --tags
echo TAG=${TAG} >> $GITHUB_ENV
# The package.sh script used to build the
# tarball requires `pandoc` and `zsh` to be installed.
- name: Build tarball
run: |
sudo apt-get update
sudo apt install -y pandoc zsh
zsh -c 'make package'
- uses: ncipollo/[email protected]
with:
tag: ${{ env.TAG }}
generateReleaseNotes: true
artifacts: dist/common-utils-${{ env.TAG }}.tar.gz