diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8db83d9..73bf599 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,13 @@ on: push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' + branches: + - main name: Create and Publish Release jobs: build: - if: github.ref == 'refs/heads/main' + if: startsWith(github.ref, 'refs/tags/v') name: Create Release runs-on: ubuntu-latest steps: diff --git a/Sources/SwiftyProfiler/main.swift b/Sources/SwiftyProfiler/main.swift index 33c6b81..3613f04 100644 --- a/Sources/SwiftyProfiler/main.swift +++ b/Sources/SwiftyProfiler/main.swift @@ -6,7 +6,7 @@ struct Profiler: ParsableCommand { commandName: "swprofiler", abstract: "", discussion: "", - version: "0.0.12", + version: "0.0.13", shouldDisplay: true, helpNames: [.long, .short] )