Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
frasdav committed Aug 28, 2024
1 parent 793e790 commit df23f3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ desired state configuration.
Installation
------------

The extension is available in the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=gofrontier.Sheriff>`_.
The extension is available in the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=frontier.Sheriff>`_.

-----
Usage
Expand Down
6 changes: 2 additions & 4 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const { promisify } = require('util');

const finished = promisify(stream.finished);

const sas = 'sp=r&st=2024-01-01T00:00:00Z&se=2049-12-31T23:59:59Z&spr=https&sv=2022-11-02&sr=c&sig=Obnq5FJma2NJlE1k0PykIYlHbBcTA1yeba3YRLV6rmw%3D';

async function run() {
try {
const version = tl.getInput('version', true);
Expand Down Expand Up @@ -43,9 +41,9 @@ async function run() {

let downloadUrl;
if (version === 'latest') {
downloadUrl = `https://sa0she0prd0uks0releases.blob.core.windows.net/sheriff/latest/sheriff_${os}_${platform}.${fileExtension}?${sas}`;
downloadUrl = `https://releases.frontierhq.com/sheriff/latest/sheriff_${os}_${platform}.${fileExtension}`;
} else {
downloadUrl = `https://sa0she0prd0uks0releases.blob.core.windows.net/sheriff/${version}/sheriff_${os}_${platform}.${fileExtension}?${sas}`;
downloadUrl = `https://releases.frontierhq.com/sheriff/${version}/sheriff_${os}_${platform}.${fileExtension}`;
}
const downloadPath = path.join(agentTempDirectory, `sheriff_${os}_${platform}.${fileExtension}`);
const toolDirPath = `${agentToolsDirectory}/sheriff/${version}/${platform}`;
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "Sheriff",
"name": "Sheriff",
"publisher": "gofrontier",
"publisher": "frontier",
"version": "",
"public": false,
"targets": [
Expand Down

0 comments on commit df23f3f

Please sign in to comment.