This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
136b9ea
commit 723e4c7
Showing
56 changed files
with
24,423 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"issues": [], | ||
"pullRequests": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"repository": "joachimdalen/azdevops-env-transform", | ||
"changelogTitle": { | ||
"size": "h1", | ||
"format": "Changelog" | ||
}, | ||
"releaseTitleFormat": { | ||
"size": "h2", | ||
"format": "{{version}} ({{publishDate}})" | ||
}, | ||
"moduleTitleFormat": { | ||
"size": "h4", | ||
"format": "`{{name}}@{{version}}`" | ||
}, | ||
"moduleChangesTitle": { | ||
"size": "h3", | ||
"format": ":package: Module changes" | ||
}, | ||
"typeSize": "h3", | ||
"typeMapping": { | ||
"feature": ":rocket: Features ({{changeCount}})", | ||
"fix": ":bug: Fixes ({{changeCount}})", | ||
"tests": ":test_tube: Tests ({{changeCount}})", | ||
"other": ":speech_balloon: Other ({{changeCount}})", | ||
"docs": ":memo: Documentation ({{changeCount}})", | ||
"maint": ":hammer_and_wrench: Maintenance ({{changeCount}})", | ||
"enhancement": ":mega: Enhancements ({{changeCount}})" | ||
}, | ||
"typeResourcePrefixMapping": { | ||
"feature": { | ||
"issue": "Suggested in", | ||
"pullRequest": "Added in" | ||
}, | ||
"fix": { | ||
"issue": "Reported in", | ||
"pullRequest": "Fixed in" | ||
}, | ||
"docs": { | ||
"issue": "Changed needed", | ||
"pullRequest": "Changed in" | ||
}, | ||
"maint": { | ||
"pullRequest": "Changed in" | ||
}, | ||
"enhancement": { | ||
"issue": "Suggested in", | ||
"pullRequest": "Improved in" | ||
} | ||
}, | ||
"sections": { | ||
"summary": { | ||
"title": { | ||
"size": "h4", | ||
"format": ":speech_balloon: Summary" | ||
} | ||
} | ||
}, | ||
"attributionTitleFormat": { | ||
"size": "h2", | ||
"format": ":star2: Contributors" | ||
}, | ||
"attributionSubTitle": { | ||
"format": "Thank you to the following for contributing to the latest release" | ||
}, | ||
"attributionLinkTextFormat": { | ||
"format": "@{{ghUsername}}" | ||
}, | ||
"knownAuthors": ["joachimdalen"], | ||
"useDescriptiveIssues": true, | ||
"useDescriptivePullRequests": true, | ||
"replaceEmojis": { | ||
"types": true, | ||
"changelogTitle": true, | ||
"releaseTitle": true, | ||
"moduleTitle": true, | ||
"attributionTitle": true, | ||
"attributionSubTitle": true, | ||
"moduleChangesTitle": true, | ||
"githubIssues": false, | ||
"githubPullRequests": false, | ||
"sectionContent": true, | ||
"sectionTitle": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
[ | ||
{ | ||
"publishDate": "2022-03-13", | ||
"version": "1.3.0", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.4.0", | ||
"changes": [ | ||
{ | ||
"description": "Update dependencies", | ||
"type": "maint" | ||
}, | ||
{ | ||
"description": "Update docs", | ||
"type": "docs" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2021-12-17", | ||
"version": "1.2.3", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.3.3", | ||
"changes": [ | ||
{ | ||
"type": "maint", | ||
"description": "Updated dependencies" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2021-07-03", | ||
"version": "1.2.2", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.3.2", | ||
"changes": [ | ||
{ | ||
"type": "maint", | ||
"description": "Updated dependencies" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2021-04-01", | ||
"version": "1.2.1", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.3.1", | ||
"changes": [ | ||
{ | ||
"type": "maint", | ||
"description": "Updated dependencies" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2021-01-23", | ||
"version": "1.2.0", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.3.0", | ||
"changes": [ | ||
{ | ||
"type": "fix", | ||
"description": "Fixed `Cannot read property 'trim' of undefined` being thrown when file contains a key without a value [#3](https://github.com/joachimdalen/AzureDevOpsExtensions/issues/3)" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2021-01-11", | ||
"version": "1.1.2", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.2.1", | ||
"changes": [ | ||
{ | ||
"type": "maint", | ||
"description": "Updated dependencies" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2020-11-23", | ||
"version": "1.1.1", | ||
"changes": [ | ||
{ | ||
"type": "docs", | ||
"description": "Fixed a typo in docs" | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2020-11-23", | ||
"version": "1.1.0", | ||
"modules": [ | ||
{ | ||
"name": "EnvTransform", | ||
"version": "0.2.0", | ||
"changes": [ | ||
{ | ||
"type": "maint", | ||
"description": "Updated dependencies" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2020-10-17", | ||
"version": "1.0.1", | ||
"changes": [ | ||
{ | ||
"type": "feature", | ||
"description": "Added support for preserving comments. This option is **off by default**. Enabled it by setting `preserveComments` to `true`" | ||
}, | ||
{ | ||
"type": "fix", | ||
"description": "Fixed a mixup in README where the requirement between `inputType` and `content` were swapped" | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2020-09-09", | ||
"version": "0.0.9", | ||
"changes": [ | ||
{ | ||
"type": "docs", | ||
"description": "Fixed link to GitHub issues" | ||
} | ||
] | ||
}, | ||
{ | ||
"publishDate": "2020-09-06", | ||
"version": "0.0.8", | ||
"changes": [ | ||
{ | ||
"type": "docs", | ||
"description": "Update docs" | ||
}, | ||
{ | ||
"type": "other", | ||
"description": "Refactoring" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"tasks": { | ||
"transform": "../tasks/env-transform/task.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"partials": { | ||
"env-transform": { "file": "../tasks/env-transform/docs/README.md" }, | ||
"replace-inline": { "file": "../tasks/env-transform/docs/examples/replace-inline.md" }, | ||
"replace-file": { "file": "../tasks/env-transform/docs/examples/replace-file.md" }, | ||
"substitute-inline": { "file": "../tasks/env-transform/docs/examples/substitue-inline.md" } | ||
}, | ||
"profiles": [ | ||
{ | ||
"name": "github", | ||
"imageFolder": "marketplace/docs/images", | ||
"relative": true | ||
}, | ||
{ | ||
"name": "marketplace", | ||
"imageFolder": "marketplace/docs/images", | ||
"relative": false | ||
}, | ||
{ | ||
"name": "doc-site", | ||
"imageFolder": "/img/env-transform/", | ||
"relative": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
parameters: | ||
- name: extensionEnv | ||
default: dev | ||
values: | ||
- dev | ||
- qa | ||
- prod | ||
- name: taskVersion | ||
displayName: 'Task Version' | ||
type: string | ||
default: $(Task.Extension.Version) | ||
- name: generateVersionChangelog | ||
type: boolean | ||
default: true | ||
jobs: | ||
- job: 'build_docs_${{ parameters.extensionEnv }}' | ||
displayName: 'Build docs' | ||
steps: | ||
- task: TfxInstaller@3 | ||
displayName: 'Install Tfx' | ||
inputs: | ||
version: 'v0.10.0' | ||
- task: QueryAzureDevOpsExtensionVersion@3 | ||
displayName: 'Query existing version' | ||
inputs: | ||
connectTo: 'VsTeam' | ||
connectedServiceName: $(marketplaceServiceConnection) | ||
publisherId: '$(PublisherID)' | ||
extensionId: '$(ExtensionID)' | ||
versionAction: 'Patch' | ||
outputVariable: 'Task.Extension.Version' | ||
- template: install-and-build.template.yml | ||
parameters: | ||
nodeVersion: '16.x' | ||
- task: Npm@1 | ||
displayName: 'Build changelog' | ||
inputs: | ||
command: custom | ||
customCommand: run changelog:prod | ||
- task: Npm@1 | ||
displayName: 'Build single version changelog' | ||
condition: eq(${{ parameters.generateVersionChangelog }}, true) | ||
inputs: | ||
command: custom | ||
customCommand: run changelog:prod:version -- --version ${{ parameters.taskVersion }} | ||
- task: Npm@1 | ||
displayName: 'Build readme' | ||
inputs: | ||
command: custom | ||
customCommand: run docs:build | ||
- task: Bash@3 | ||
displayName: 'Move artifacts' | ||
inputs: | ||
targetType: inline | ||
script: | | ||
mkdir $(Build.ArtifactStagingDirectory)/docs/ | ||
cp $(Build.SourcesDirectory)/marketplace/docs/CHANGELOG.md $(Build.ArtifactStagingDirectory)/docs/ | ||
cp $(Build.SourcesDirectory)/marketplace/docs/README.md $(Build.ArtifactStagingDirectory)/docs/ | ||
- task: Bash@3 | ||
displayName: 'Move version changelog' | ||
condition: eq(${{ parameters.generateVersionChangelog }}, true) | ||
inputs: | ||
targetType: inline | ||
script: | | ||
mv $(Build.SourcesDirectory)/marketplace/docs/CHANGELOG-RELEASE.md $(Build.ArtifactStagingDirectory)/docs/ | ||
- task: PublishPipelineArtifact@1 | ||
displayName: 'Publish docs artifact' | ||
inputs: | ||
targetPath: '$(Build.ArtifactStagingDirectory)/docs' | ||
artifactName: 'docs' | ||
publishLocation: pipeline |
Oops, something went wrong.