File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Create Tagged Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main # Trigger on pushes to the main branch
7+
8+ jobs :
9+ create_tagged_release :
10+ runs-on : ubuntu-latest
11+ env :
12+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13+ permissions :
14+ contents : write
15+ steps :
16+ - name : Create Tagged Release
17+ uses : dexwritescode/release-on-merge-action@v1 # Or another suitable action
18+ with :
19+ version-increment-strategy : patch
20+ initial-version : ' 1.0.0'
Original file line number Diff line number Diff line change 1- name : Publish release
1+ name : Update Module Version
22
33on :
44 push :
55 branches :
6- - main # Trigger on pushes to the main branch
6+ - develop # Trigger on pushes to the main branch
77
88jobs :
9- publish_release :
9+ update_module_version :
1010 runs-on : ubuntu-latest
1111 env :
1212 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1313 permissions :
1414 contents : write
1515
1616 steps :
17- - name : Checkout repository
18- uses : actions/checkout@v4
17+ - name : checkout
18+ uses : actions/checkout@v2
1919
20- - name : Create Version
20+ - name : Create Version From Current Tags
2121 uses : dexwritescode/release-on-merge-action@v1 # Or another suitable action
2222 id : version_tracker
2323 with :
3333 uses : stefanzweifel/git-auto-commit-action@v5
3434 with :
3535 commit_message : " Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1"
36- branch : main
37- tagging_message : ' v${{ steps.version_tracker.outputs.version }}'
38-
39- # - name: Create Tagged Release
40- # uses: dexwritescode/release-on-merge-action@v1 # Or another suitable action
41- # with:
42- # version-increment-strategy: patch
43- # initial-version: '1.0.0'
36+ branch : develop
Original file line number Diff line number Diff line change 1212RootModule = ' DevSetup.psm1'
1313
1414# Version number of this module.
15- ModuleVersion = ' 1.0.6 '
15+ ModuleVersion = ' 1.0.7 '
1616
1717# Supported PSEditions
1818# CompatiblePSEditions = @()
You can’t perform that action at this time.
0 commit comments