Skip to content

Merge pull request #5 from humanmade/prepare-1.0-release #6

Merge pull request #5 from humanmade/prepare-1.0-release

Merge pull request #5 from humanmade/prepare-1.0-release #6

Workflow file for this run

on:
push:
tags:
- '*'
name: Create Release
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Create Release
uses: technote-space/release-github-actions@052f205daf62dff0c3ece009f07b38f3ec83e01a # v8.0.3
with:
BUILD_COMMAND_TARGET: 'build'
CLEAN_TEST_TAG: true
CLEAN_TARGETS: .[!.]*,__tests__,package.json,package-lock.json,node_modules,tests,*.xml.dist
COMMIT_MESSAGE: "Built release for ${{ steps.get_version.outputs.VERSION }}. For a full change log look at the notes within the original/${{ steps.get_version.outputs.VERSION }} release."
CREATE_MAJOR_VERSION_TAG: false
CREATE_MINOR_VERSION_TAG: false
CREATE_PATCH_VERSION_TAG: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORIGINAL_TAG_PREFIX: original/
OUTPUT_BUILD_INFO_FILENAME: build.json
TEST_TAG_PREFIX: test/