Skip to content

Merge develop into main (#44) #63

Merge develop into main (#44)

Merge develop into main (#44) #63

Workflow file for this run

name: Main Push Continuous Deployment
on:
push:
branches:
- main
jobs:
Deployment:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: get fetch to update tags locally
run: git fetch --prune --unshallow --tags
- name: last tag
run: |
LAST_TAG=$(git describe HEAD --tags | grep -Eo "^v[0-9]+(\.[0-9]+)*")
echo "LAST_TAG=${LAST_TAG}"
echo "LAST_TAG=${LAST_TAG}" >> $GITHUB_ENV
- name: set up semver
uses: madhead/semver-utils@latest
id: version
with:
# A version to work with
version: ${{ env.LAST_TAG }}
- name: Get NEXT_TAG value
run: |
NEXT_TAG=${{ steps.version.outputs.inc-patch }}
echo "NEXT_TAG=${NEXT_TAG}"
echo "NEXT_TAG=${NEXT_TAG}" >> $GITHUB_ENV
- name: installing tool chain
run: ./scripts/install-toolchain.sh
- name: verify the release one more time.
run: make all
- name: Draft release
run: ./scripts/draft-release.sh
- name: Package release
run: ./scripts/package-charts.sh
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: build/release-notes.md
files: build/stable/*.tgz
name: V${{ env.NEXT_TAG }}
tag_name: v${{ env.NEXT_TAG }}
- name: Package release
env:
GITHUB_ACTIONS: ${{ env.GITHUB_ACTIONS }}
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
run: ./scripts/publish-charts.sh