Skip to content

Commit

Permalink
Added consolidated release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Archdoog committed Feb 9, 2024
1 parent a03f4c5 commit 253e62b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Release Maplibre-SwiftUI Manually
name: Release Maplibre-SwiftUI

on:
push:
branches:
- main
workflow_dispatch:
inputs:
bump_version_scheme:
type: choice
description: 'Bump version scheme'
required: true
default: 'patch'
Expand All @@ -20,4 +24,4 @@ jobs:
steps:
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: ${{ inputs.bump_version_scheme }}
bump_version_scheme: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'patch' || inputs.bump_version_scheme }}
16 changes: 0 additions & 16 deletions .github/workflows/release_on_push.yml

This file was deleted.

0 comments on commit 253e62b

Please sign in to comment.