Skip to content

Commit

Permalink
Merge pull request #2687 from FoothillSolutions/fix-version-bump-afte…
Browse files Browse the repository at this point in the history
…r-release

Switch release process to manual trigger
  • Loading branch information
yazeedobaid authored Jul 21, 2022
2 parents 3995ed2 + 4895ff5 commit b44a731
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: FAKE Release
# this workflow will build the project, run tests for final check, generate artifacts for a release, and release

on:
push:
branches: [ master ]
workflow_dispatch:
inputs:
releaseVersion:
description: 'Release Version'
required: true
default: '1.0.0-1'

jobs:
release:
Expand Down Expand Up @@ -33,7 +37,7 @@ jobs:
- name: Build fake runner
run: dotnet pack --version-suffix 1 src/app/fake-cli/fake-cli.fsproj
- name: add fake runner as a tool
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version 1.0.0-1
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version ${{ github.event.inputs.releaseVersion }}
- name: Build
run: dotnet fake build -t Release_BuildAndTest --parallel 3
- name: publish build artifacts
Expand Down

0 comments on commit b44a731

Please sign in to comment.