major: initial release

This commit is contained in:
Nick Fields
2020-02-13 16:52:50 -05:00
parent d4e983ab06
commit eb66095efa

View File

@@ -62,11 +62,12 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Release - name: Release
id: release id: semantic
uses: cycjimmy/semantic-release-action@v2 uses: cycjimmy/semantic-release-action@v2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Tag - name: Tag
run: git tag -f zzz && git push origin zzz run: git tag -f v${MAJOR_VERSION} && git push origin v${MAJOR_VERSION}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAJOR_VERSION: ${{ steps.semantic.outputs.new_release_major_version }}