Skip to content

Commit ad256a0

Browse files
authored
Merge pull request #69 from jkone27/test-versionize
chore: test versionize
2 parents 2aa71e0 + ed5c02c commit ad256a0

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ jobs:
3636
run: dotnet versionize
3737
continue-on-error: true
3838

39+
- name: Push version changes
40+
if: steps.versionize.outcome == 'success'
41+
uses: ad-m/github-push-action@master
42+
with:
43+
github_token: ${{ secrets.GITHUB_TOKEN }}
44+
branch: main
45+
tags: true
46+
47+
# Checkout the repository again to ensure the latest changes are available
48+
- name: Checkout repository after versionize
49+
if: steps.versionize.outcome == 'success'
50+
uses: actions/checkout@v4
51+
3952
- name: No release required
4053
if: steps.versionize.outcome != 'success'
4154
run: echo "Skipping publishing. No release required."
@@ -51,11 +64,3 @@ jobs:
5164
- name: Push Package
5265
if: steps.versionize.outcome == 'success'
5366
run: dotnet nuget push ./nupkgs/*.nupkg --api-key ${{secrets.NUGET_KEY}} --skip-duplicate
54-
55-
- name: Push changes to GitHub
56-
if: steps.versionize.outcome == 'success'
57-
uses: ad-m/github-push-action@master
58-
with:
59-
github_token: ${{ secrets.GITHUB_TOKEN }}
60-
branch: main
61-
tags: true

CHANGELOG.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,12 @@
22

33
All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines.
44

5-
<a name="1.4.0"></a>
6-
## [1.4.0](https://www.github.com/jkone27/fsharp-integration-tests/releases/tag/v1.4.0) (2025-05-12)
7-
8-
<a name="1.4.0"></a>
9-
## [1.4.0](https://www.github.com/jkone27/fsharp-integration-tests/releases/tag/v1.4.0) (2025-05-12)
10-
115
### Features
126

137
* renamed TestClient to TestWebAppFactoryBuilder, fix to publish and docs ([a3a90a1](https://www.github.com/jkone27/fsharp-integration-tests/commit/a3a90a1bc91b880225d9db07f67aa794859bf7be))
148

15-
<a name="1.3.0"></a>
16-
## [1.3.0](https://www.github.com/jkone27/fsharp-integration-tests/releases/tag/v1.3.0) (2025-05-10)
9+
<a name="1.4.0"></a>
10+
## [1.4.0](https://www.github.com/jkone27/fsharp-integration-tests/releases/tag/v1.4.0) (2025-05-12)
1711

1812
<a name="1.3.0"></a>
1913
## [1.3.0](https://www.github.com/jkone27/fsharp-integration-tests/releases/tag/v1.3.0) (2025-05-10)

0 commit comments

Comments
 (0)