Skip to content

Commit

Permalink
Remove prerelease part of workflow (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
AristurtleDev authored Jan 10, 2025
1 parent 4a738eb commit b688d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ name: "Create Release"
on:
workflow_dispatch:
inputs:
prerelease:
description: 'Is this a prerelease?'
required: true
type: boolean
default: true
source-feed:
description: 'Which source feed to publish to?'
required: true
Expand All @@ -29,15 +24,12 @@ jobs:
build:
name: "Build MonoGame.Extended"
runs-on: ubuntu-latest
env:
IS_PRERELEASE: ${{ inputs.prerelease || '' }}
BUILD_NUMBER: ${{ inputs.prerelease && github.run_number || '' }}

steps:
- name: Clone Repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.prerelease && 'develop' || 'main' }}
ref: develop

- name: Setup Dotnet
uses: actions/setup-dotnet@v4
Expand Down
5 changes: 1 addition & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
</PropertyGroup>

<PropertyGroup>
<MonoGameExtendedVersion>4.0.4</MonoGameExtendedVersion>
<IsPrerelease Condition="'$(IS_PRERELEASE)' != ''">-prerelease</IsPrerelease>
<BuildNumber Condition="'$(BUILD_NUMBER)' != ''">.$(BUILD_NUMBER)</BuildNumber>
<Version>$(MonoGameExtendedVersion)$(IsPrerelease)$(BuildNumber)</Version>
<Version>4.0.4</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit b688d56

Please sign in to comment.