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
16 changes: 12 additions & 4 deletions .github/workflows/update-module-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop # Trigger on pushes to the main branch
workflow_dispatch:

jobs:
update_module_version:
Expand All @@ -29,8 +30,15 @@ jobs:
run: |
perl -pi -e 's/[0-9]\.[0-9]\.[0-9]/${{ steps.version_tracker.outputs.version }}/' DevSetup/DevSetup.psd1

- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5
# - name: Commit and push changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1"
# branch:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit_message: "Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1"
branch: develop
commit-message: Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1
title: Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1
body: Changing version to ${{ steps.version_tracker.outputs.version }}
branch: update-release-version-to-${{ steps.version_tracker.outputs.version }}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Describe "Install-Homebrew" {
Param($Name)
switch($Name) {
"SHELL" { return "/bin/bash" }
"HOME" { return "/Users/TestUser" }
"HOME" { return "/home/testuser" }
}
}
Mock Add-Content { }
Expand Down
Loading