Skip to content

Commit

Permalink
Merge branch 'prerelease' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
shaun-lawrie-ptml authored Oct 1, 2024
2 parents 8133bfb + dc2a6c1 commit 8dfd5c1
Show file tree
Hide file tree
Showing 51 changed files with 947 additions and 941 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Codeowners approval is required to modify some of the files
/.github/ @ShaunLawrie
/PwshSpectreConsole/Build.ps1 @ShaunLawrie
/ShaunLawrie/PwshSpectreConsole/PwshSpectreConsole.Docs/src/powershell/UpdateDocs.ps1 @ShaunLawrie
10 changes: 7 additions & 3 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: Publish to PSGallery
env:
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
on:
push:
branches:
Expand All @@ -13,6 +11,9 @@ permissions:
jobs:
publish-to-psgallery:
name: Publish
environment: prod
env:
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.repository_owner == 'ShaunLawrie'
steps:
Expand Down Expand Up @@ -58,6 +59,9 @@ jobs:

publish-prerelease-to-psgallery:
name: Publish Prerelease
environment: prod
env:
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/prerelease' && github.repository_owner == 'ShaunLawrie'
steps:
Expand Down Expand Up @@ -113,7 +117,7 @@ jobs:
} else {
Write-Host "Bumping version from $version to $newVersion"
Update-ModuleManifest -Path .\PwshSpectreConsole\PwshSpectreConsole.psd1 -ModuleVersion $newVersion
git config --global user.name 'Shaun Lawrie (via GitHub Actions)'
git config --global user.name 'PwshSpectreConsole (via GitHub Actions)'
git config --global user.email '[email protected]'
git add PwshSpectreConsole/PwshSpectreConsole.psd1
git commit -m "[skip ci] Bump version to $newVersion"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
environment: prod
if: github.repository_owner == 'ShaunLawrie'
steps:
- name: Checkout
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8dfd5c1

Please sign in to comment.