Bump version to 1.0.4 and update README, task.json, and vss-extension.json for consistency
This commit is contained in:
@@ -39,7 +39,7 @@ AZDO_PAT='<your-pat>' ./scripts/publish.sh <vsix-path> <publisher-id> <org1> <or
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
AZDO_PAT="$AZDO_PAT" ./scripts/publish.sh ./build/skoszewski-lab.azuredevops-get-oidc-token-task-1.0.0.vsix skoszewski-lab org-a org-b org-c
|
AZDO_PAT="$AZDO_PAT" ./scripts/publish.sh ./build/skoszewski-lab.azuredevops-get-oidc-token-task-1.0.3.vsix skoszewski-lab org-a org-b org-c
|
||||||
```
|
```
|
||||||
|
|
||||||
### Manual publish (Web UI)
|
### Manual publish (Web UI)
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ steps:
|
|||||||
echo "ARM_OIDC_TOKEN is missing"
|
echo "ARM_OIDC_TOKEN is missing"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "Token Hash: $(echo -n $ARM_OIDC_TOKEN | sha256sum | awk '{print $1}')"
|
||||||
|
|
||||||
if [[ -z "${ARM_TENANT_ID:-}" ]]; then
|
if [[ -z "${ARM_TENANT_ID:-}" ]]; then
|
||||||
echo "ARM_TENANT_ID is missing"
|
echo "ARM_TENANT_ID is missing"
|
||||||
@@ -29,13 +30,17 @@ steps:
|
|||||||
echo "ARM_CLIENT_ID is missing"
|
echo "ARM_CLIENT_ID is missing"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "ARM variables are populated."
|
||||||
|
echo "Tenant: $ARM_TENANT_ID"
|
||||||
|
echo "Client: $ARM_CLIENT_ID"
|
||||||
|
|
||||||
if [[ -z "${GIT_ACCESS_TOKEN:-}" ]]; then
|
if [[ -z "${GIT_ACCESS_TOKEN:-}" ]]; then
|
||||||
echo "GIT_ACCESS_TOKEN is missing"
|
echo "GIT_ACCESS_TOKEN is missing"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "Git Access Token Hash: $(echo -n $GIT_ACCESS_TOKEN | sha256sum | awk '{print $1}')"
|
||||||
|
|
||||||
echo "ARM variables are populated."
|
|
||||||
echo "Tenant: $ARM_TENANT_ID"
|
|
||||||
echo "Client: $ARM_CLIENT_ID"
|
|
||||||
displayName: Validate exported variables
|
displayName: Validate exported variables
|
||||||
|
env:
|
||||||
|
ARM_OIDC_TOKEN: $(ARM_OIDC_TOKEN)
|
||||||
|
GIT_ACCESS_TOKEN: $(GIT_ACCESS_TOKEN)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"version": {
|
"version": {
|
||||||
"Major": 1,
|
"Major": 1,
|
||||||
"Minor": 0,
|
"Minor": 0,
|
||||||
"Patch": 3
|
"Patch": 4
|
||||||
},
|
},
|
||||||
"instanceNameFormat": "Configure federated auth: $(serviceConnectionARM)",
|
"instanceNameFormat": "Configure federated auth: $(serviceConnectionARM)",
|
||||||
"inputs": [
|
"inputs": [
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"label": "Azure Resource Manager service connection",
|
"label": "Azure Resource Manager service connection",
|
||||||
"defaultValue": "",
|
"defaultValue": "",
|
||||||
"required": true,
|
"required": true,
|
||||||
"helpMarkDown": "AzureRM service connection used to request the OIDC token."
|
"helpMarkDown": "AzureRM service connection used to request the OIDC token. Requires System.AccessToken to be available to the job."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "setGitAccessToken",
|
"name": "setGitAccessToken",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"manifestVersion": 1,
|
"manifestVersion": 1,
|
||||||
"id": "azuredevops-get-oidc-token-task",
|
"id": "azuredevops-get-oidc-token-task",
|
||||||
"name": "Azure DevOps AzureFederatedAuth Task",
|
"name": "Azure DevOps AzureFederatedAuth Task",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"publisher": "skoszewski-lab",
|
"publisher": "skoszewski-lab",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user