Skip to content

bump version to 7.0.0 #204

bump version to 7.0.0

bump version to 7.0.0 #204

Workflow file for this run

on:
push
name: Make Release
jobs:
build:
name: Build Node
runs-on: ubuntu-latest
container:
image: node:12.16.3-buster
steps:
- name: Install git
run: |
apt install git
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fetch complete git history and tags
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git describe
- name: Compile sources
run: |
export "BUILD=yes"
export "GIT_VERSION=${GITHUB_REF:-$GITHUB_SHA}"
export "GIT_COMMITHASH=${GITHUB_SHA}"
export "GIT_BRANCH=${GITHUB_REF:-$GITHUB_SHA}"
cd design/ui
yarn install
yarn build
- name: Upload Artefacts
uses: actions/upload-artifact@v1
with:
name: html-root
path: ./apps/core/static/
release:
name: Create Release
runs-on: ubuntu-latest
needs: ['build']
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download artifacts
uses: actions/download-artifact@v1
with:
name: html-root
path: html-root
- name: Compress artefact
run: |
tar czf html-root.tar.gz html-root
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ""
draft: false
prerelease: false
- name: Upload artefact to release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: html-root.tar.gz
asset_name: html-root.tar.gz
asset_content_type: application/tar+gzip