Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/tag-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Create Tagged Release

on:
push:
branches:
- main # Trigger on pushes to the main branch

jobs:
create_tagged_release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- name: Create Tagged Release
uses: dexwritescode/release-on-merge-action@v1 # Or another suitable action
with:
version-increment-strategy: patch
initial-version: '1.0.0'
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Publish release
name: Update Module Version

on:
push:
branches:
- main # Trigger on pushes to the main branch
- develop # Trigger on pushes to the main branch

jobs:
publish_release:
update_module_version:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: checkout
uses: actions/checkout@v2

- name: Create Version
- name: Create Version From Current Tags
uses: dexwritescode/release-on-merge-action@v1 # Or another suitable action
id: version_tracker
with:
Expand All @@ -33,11 +33,4 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1"
branch: main
tagging_message: 'v${{ steps.version_tracker.outputs.version }}'

#- name: Create Tagged Release
# uses: dexwritescode/release-on-merge-action@v1 # Or another suitable action
# with:
# version-increment-strategy: patch
# initial-version: '1.0.0'
branch: develop
2 changes: 1 addition & 1 deletion DevSetup/DevSetup.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'DevSetup.psm1'

# Version number of this module.
ModuleVersion = '1.0.6'
ModuleVersion = '1.0.7'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down