Skip to content

Commit

Permalink
Merge pull request #43 from wakatime/main
Browse files Browse the repository at this point in the history
Release v0.1.0
  • Loading branch information
alanhamlett authored Mar 28, 2023
2 parents 2bf0be7 + 3b25f2f commit 3681279
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
name: Generate project
run: xcodegen
-
name: Build app to run linters
name: Build app
run: xcodebuild
-
name: Import Code-Signing Certificates
Expand Down Expand Up @@ -162,31 +162,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
-
# Run only for main branch
if: ${{ github.ref == 'refs/heads/main' }}
name: Changelog for main
uses: gandarez/[email protected]
id: changelog-main
with:
current_tag: ${{ github.sha }}
previous_tag: ${{ needs.version.outputs.ancestor_tag }}
exclude: |
^Merge pull request .*
-
# Run only for release branch
if: ${{ github.ref == 'refs/heads/release' }}
name: Get related pull request
uses: 8BitJonny/[email protected]
id: changelog-release
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
-
name: Prepare changelog
id: changelog
run: |
changelog="${{ steps.changelog-main.outputs.changelog || steps.changelog-release.outputs.pr_body }}"
./bin/prepare_changelog.sh $(echo ${GITHUB_REF#refs/heads/}) "$changelog"
-
name: Download artifacts
uses: actions/download-artifact@v3
Expand All @@ -199,7 +174,6 @@ jobs:
with:
name: ${{ needs.version.outputs.semver_tag }}
tag_name: ${{ needs.version.outputs.semver_tag }}
body: "## Changelog\n${{ steps.changelog.outputs.changelog }}"
prerelease: ${{ needs.version.outputs.is_prerelease }}
target_commitish: ${{ github.sha }}
draft: false
Expand Down

0 comments on commit 3681279

Please sign in to comment.