actions: lint yaml replace semver with just version

This commit is contained in:
Tyler Wilding 2021-10-18 20:42:48 -04:00 committed by tellowkrinkle
parent f9e4bb5288
commit 79e56f21d1
7 changed files with 10 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -10,7 +10,7 @@ participant Discord as discord
user -> github : New Commit on master (from PR, or directly)
...waiting for commit push event to fire...
github -> create : Push a new git tag, patch incrementing latest SemVer
github -> create : Push a new git tag, patch incrementing latest Version
alt from-pr? case
create -> create : Use links to the PR as a description
else was a commit

View File

@ -199,7 +199,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
ASSET_DIR: ${{ github.WORKSPACE }}/ci-artifacts
ASSET_EXTENSION: "AppImage"
ASSET_EXTENSION: AppImage
TAG_TO_SEARCH_FOR: ${{ github.REF }}
run: |
cd ./.github/workflows/scripts/releases/upload-release-artifacts

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: 16
- name: Announce Release
env:

View File

@ -1,6 +1,6 @@
# Whenever a commit is pushed to master (ideally via a pull-request!)
# this action will create the next release, which means:
# 1. tag master with the proper semver
# 1. tag master with the proper version
# 2. create a new draft release (pre-released if a nightly build)
# 3. add release notes
@ -17,8 +17,8 @@ on:
# description: 'Should it be a stable release?'
# required: true
# default: 'false'
# semverTag:
# description: 'The semantic version to tag with'
# versionTag:
# description: 'The version to tag with'
# required: true
jobs:
@ -30,7 +30,7 @@ jobs:
# Docs - https://github.com/mathieudutour/github-tag-action
# Workflows cannot trigger other workflows implicitly
# - https://github.community/t/github-actions-workflow-not-triggering-with-tag-push/17053/7
- name: Bump SemVer and Push Tag
- name: Bump Version and Push Tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.6
with:

View File

@ -52,7 +52,7 @@ const { data: associatedPulls } = await octokit.rest.repos.listPullRequestsAssoc
let releaseNotes = ``;
if (associatedPulls.length == 0) {
if (associatedPulls.length === 0) {
releaseNotes += `- ${commit.commit.message}\n`;
} else {
for (var j = 0; j < associatedPulls.length; j++) {

View File

@ -167,14 +167,9 @@ jobs:
continue-on-error: true
with:
name: ${{ steps.artifact-metadata.outputs.name }}-symbols
path: |
./bin/**/*.pdb
path: ./bin/**/*.pdb
# ---- Release / Tagging related steps ----
- name: Install Dependencies
if: startsWith(github.ref, 'refs/tags/') && matrix.configuration != 'CMake'
run: choco install 7zip.install
- name: Prepare Build Artifacts
if: startsWith(github.ref, 'refs/tags/') && matrix.configuration != 'CMake'
run: |
@ -188,7 +183,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
ASSET_DIR: ${{ github.WORKSPACE }}/ci-artifacts
ASSET_EXTENSION: "7z"
ASSET_EXTENSION: 7z
TAG_TO_SEARCH_FOR: ${{ github.REF }}
run: |
cd ./.github/workflows/scripts/releases/upload-release-artifacts