Some simple Git commands
git pullgit checkout -b [name_of_your_new_branch]git push origin [name_of_your_new_branch]
| ############################################# | |
| # Variables # | |
| ############################################# | |
| # Set the folder path where the YAML files are stored | |
| $folderPath = "C:\tres-internet-nuget-umbraco8\.pipelines" | |
| # Set the name of the Azure DevOps pipeline folder | |
| $azureDevOpsPipelineFolder = "My Pipeline Folder" |
| # Set the root folder path | |
| $rootFolderPath = (Get-Location).Path | |
| # Set the nugetType variable | |
| $nugetType = "Framework" | |
| # Create the .pipelines folder if it doesn't exist | |
| $pipelinesFolderPath = Join-Path -Path $rootFolderPath -ChildPath ".pipelines" | |
| if (-not (Test-Path -Path $pipelinesFolderPath)) { | |
| New-Item -ItemType Directory -Path $pipelinesFolderPath | Out-Null |
| // Create gulpfile.js | |
| const gulp = require("gulp"); | |
| const inline = require("gulp-inline"); | |
| gulp.task("default", () => { | |
| return gulp | |
| .src("./dist/*/*.html") | |
| .pipe(inline()) | |
| .pipe(gulp.dest("./single-dist")); | |
| }); |
| #Requires -Version 3 | |
| #Requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| Downloads and installs an Azure Pipelines Agent on the current machine, | |
| and registers it with the specified Azure Devops organization, project, and environment. | |
| .DESCRIPTION | |
| This cmdlet downloads an Azure Pipelines Agent on the current machine, installs it to C:\azagent, | |
| and finally runs the .\config.cmd command, which registers the agent with the specified |