Skip to content

Commit 1fa0e8c

Browse files
committed
👷‍♂️ Add Build and Release Draft Tools
1 parent e0802be commit 1fa0e8c

12 files changed

Lines changed: 2441 additions & 104 deletions

.github/release-drafter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
template: |
2+
## What’s Changed
3+
4+
$CHANGES

.github/workflows/perf.yml

Lines changed: 0 additions & 104 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Drafts the next modulefast release notes every commit
2+
name: Release Drafter
3+
4+
# Controls when the workflow will run
5+
on:
6+
push:
7+
branches:
8+
- main
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
permissions:
12+
contents: read
13+
14+
defaults:
15+
run:
16+
shell: pwsh
17+
18+
jobs:
19+
update_release_draft:
20+
permissions:
21+
# write permission is required to create a github release
22+
contents: write
23+
# write permission is required for autolabeler
24+
# otherwise, read permission is required at least
25+
pull-requests: write
26+
runs-on: ubuntu-latest
27+
steps:
28+
# Drafts your next Release notes as Pull Requests are merged into "master"
29+
- uses: release-drafter/release-drafter@v6
30+
with:
31+
disable-autolabeler: true
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63.4 KB
Binary file not shown.

Build/ModuleFast/LICENSE

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# License
2+
3+
Copyright 2023 Justin Grote @justinwgrote
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10+
11+
## Third Party Notices
12+
13+
### [PSResourceGet](https://github.com/powershell/psresourceget)
14+
15+
Copyright (c) Microsoft Corporation.
16+
17+
MIT License
18+
19+
Permission is hereby granted, free of charge, to any person obtaining a copy
20+
of this software and associated documentation files (the "Software"), to deal
21+
in the Software without restriction, including without limitation the rights
22+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23+
copies of the Software, and to permit persons to whom the Software is
24+
furnished to do so, subject to the following conditions:
25+
26+
The above copyright notice and this permission notice shall be included in all
27+
copies or substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35+
SOFTWARE.

Build/ModuleFast/ModuleFast.psd1

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
#
2+
# Module manifest for module 'ModuleFast'
3+
#
4+
# Generated by: Justin Grote @justinwgrote
5+
#
6+
# Generated on: 1/26/2023
7+
#
8+
9+
@{
10+
11+
# Script module or binary module file associated with this manifest.
12+
RootModule = 'ModuleFast.psm1'
13+
14+
# Version number of this module.
15+
ModuleVersion = '0.0.0'
16+
17+
# Supported PSEditions
18+
# CompatiblePSEditions = @()
19+
20+
# ID used to uniquely identify this module
21+
GUID = '89fcb0cf-1a4e-4dbf-92f5-10ce3eae241f'
22+
23+
# Author of this module
24+
Author = 'Justin Grote @justinwgrote'
25+
26+
# Company or vendor of this module
27+
CompanyName = 'Unspecified'
28+
29+
# Copyright statement for this module
30+
Copyright = '©2023 Justin Grote'
31+
32+
# Description of the functionality provided by this module
33+
Description = 'Optimizes the PowerShell Module Installation Process to be as fast as possible and operate in CI/CD scenarios in a declarative manner'
34+
35+
# Minimum version of the PowerShell engine required by this module
36+
PowerShellVersion = '7.2' #Due to use of CLEAN block
37+
38+
# Name of the PowerShell host required by this module
39+
# PowerShellHostName = ''
40+
41+
# Minimum version of the PowerShell host required by this module
42+
# PowerShellHostVersion = ''
43+
44+
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45+
# DotNetFrameworkVersion = ''
46+
47+
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48+
# ClrVersion = ''
49+
50+
# Processor architecture (None, X86, Amd64) required by this module
51+
# ProcessorArchitecture = ''
52+
53+
# Modules that must be imported into the global environment prior to importing this module
54+
# RequiredModules = @()
55+
56+
# Assemblies that must be loaded prior to importing this module
57+
RequiredAssemblies = @(".\lib\netstandard2.0\NuGet.Versioning.dll")
58+
59+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60+
# ScriptsToProcess = @()
61+
62+
# Type files (.ps1xml) to be loaded when importing this module
63+
# TypesToProcess = @()
64+
65+
# Format files (.ps1xml) to be loaded when importing this module
66+
# FormatsToProcess = @()
67+
68+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69+
# NestedModules = @()
70+
71+
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72+
FunctionsToExport = 'Install-ModuleFast', 'Get-ModuleFastPlan', 'Clear-ModuleFastCache'
73+
74+
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
75+
#CmdletsToExport = '*'
76+
77+
# Variables to export from this module
78+
#VariablesToExport = '*'
79+
80+
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
81+
AliasesToExport = 'imf'
82+
83+
# DSC resources to export from this module
84+
# DscResourcesToExport = @()
85+
86+
# List of all modules packaged with this module
87+
# ModuleList = @()
88+
89+
# List of all files packaged with this module
90+
# FileList = @()
91+
92+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
93+
PrivateData = @{
94+
95+
PSData = @{
96+
97+
# Tags applied to this module. These help with module discovery in online galleries.
98+
Tags = 'PowerShellGet', 'Module', 'Install', 'Installer', 'PackageManagement'
99+
100+
# A URL to the license for this module.
101+
LicenseUri = 'https://github.com/JustinGrote/ModuleFast/LICENSE'
102+
103+
# A URL to the main website for this project.
104+
ProjectUri = 'https://github.com/JustinGrote/ModuleFast'
105+
106+
# A URL to an icon representing this module.
107+
IconUri = 'https://raw.githubusercontent.com/JustinGrote/ModuleFast/main/images/logo.gif'
108+
109+
# ReleaseNotes of this module
110+
# ReleaseNotes = ''
111+
112+
# Prerelease string of this module
113+
Prerelease = 'SOURCE'
114+
115+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
116+
# RequireLicenseAcceptance = $false
117+
118+
# External dependent modules of this module
119+
# ExternalModuleDependencies = @()
120+
121+
} # End of PSData hashtable
122+
123+
} # End of PrivateData hashtable
124+
125+
# HelpInfo URI of this module
126+
# HelpInfoURI = ''
127+
128+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
129+
# DefaultCommandPrefix = ''
130+
131+
}
132+
133+

0 commit comments

Comments
 (0)