Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit a537b52

Browse files
authored
Update binaries name pattern (#11)
* Update binaries name pattern * Rename project files
1 parent 75e88b3 commit a537b52

File tree

9 files changed

+16
-15
lines changed

9 files changed

+16
-15
lines changed

.azure-pipelines/release-cli.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ trigger:
1010
include:
1111
- .azure-pipelines
1212
- src
13-
- msgraph-cli-beta.sln
13+
- msgraph-beta-cli.sln
1414

1515
pool:
1616
name: Azure Pipelines
@@ -20,7 +20,7 @@ variables:
2020
- name: repositoryConnection
2121
value: 'GitHub - calebkiage'
2222
- name: fileNameTemplate
23-
value: msgraph-cli-beta-{0}-{1}
23+
value: msgraph-beta-cli-{0}-{1}
2424
- name: buildConfiguration
2525
value: 'Release'
2626
- name: outputDir
@@ -120,7 +120,7 @@ stages:
120120
parameters:
121121
vstsFeedName: ${{variables.internalFeed}}
122122

123-
- pwsh: dotnet publish ./src/msgraph-cli-beta.csproj --no-restore --runtime $(rid) --self-contained true --configuration $(buildConfiguration) --output $(outputDir)
123+
- pwsh: dotnet publish ./src/msgraph-beta-cli.csproj --no-restore --runtime $(rid) --self-contained true --configuration $(buildConfiguration) --output $(outputDir)
124124
workingDirectory: $(Build.SourcesDirectory)
125125
condition: and(succeeded(), ne('${{ parameters.simulate }}', 'true'))
126126
displayName: DotNet publish

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ charset = utf-8
1111
trim_trailing_whitespace = true
1212
insert_final_newline = true
1313

14-
[*.{y[a]ml,json}]
14+
[*.{yml,yaml,json}]
1515
indent_size = 2
1616

1717
# VSCode generates files with 4 spaces

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"omnisharp.organizeImportsOnFormat": true
2+
"omnisharp.organizeImportsOnFormat": true,
3+
"dotnet.defaultSolution": "msgraph-beta-cli.sln"
34
}

.vscode/tasks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "process",
88
"args": [
99
"build",
10-
"${workspaceFolder}/src/msgraph-cli-beta.csproj",
10+
"${workspaceFolder}/src/msgraph-beta-cli.csproj",
1111
"/property:GenerateFullPaths=true",
1212
"/consoleloggerparameters:NoSummary"
1313
],
@@ -19,7 +19,7 @@
1919
"type": "process",
2020
"args": [
2121
"publish",
22-
"${workspaceFolder}/src/msgraph-cli-beta.csproj",
22+
"${workspaceFolder}/src/msgraph-beta-cli.csproj",
2323
"/property:GenerateFullPaths=true",
2424
"/consoleloggerparameters:NoSummary"
2525
],
@@ -32,7 +32,7 @@
3232
"args": [
3333
"watch",
3434
"run",
35-
"${workspaceFolder}/src/msgraph-cli-beta.csproj",
35+
"${workspaceFolder}/src/msgraph-beta-cli.csproj",
3636
"/property:GenerateFullPaths=true",
3737
"/consoleloggerparameters:NoSummary"
3838
],

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ARG MSGRAPH_NUGET_URL=https://nuget.pkg.github.com/microsoftgraph/index.json
99

1010
WORKDIR /app
1111

12-
COPY ./src ./msgraph-cli-beta/src
13-
WORKDIR /app/msgraph-cli-beta
12+
COPY ./src ./msgraph-beta-cli/src
13+
WORKDIR /app/msgraph-beta-cli
1414

1515
# RUN apk add gcc --no-cache # Uncomment this if PublishAot is enabled
1616

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
services:
33
mgc:
4-
image: msgraph-cli-beta
4+
image: msgraph-beta-cli
55
cap_add:
66
# https://man7.org/linux/man-pages/man7/capabilities.7.html
77
#

docker/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $ docker-compose run -it mgc-beta sh
1010

1111
Otherwise use docker to run the container.
1212
```sh
13-
$ docker run -it --cap-add=IPC_LOCK --rm msgraph-cli-beta sh
13+
$ docker run -it --cap-add=IPC_LOCK --rm msgraph-beta-cli sh
1414
```
1515

1616
> The IPC_LOCK capability is required by the `gnome-keyring-daemon` process which
@@ -24,7 +24,7 @@ GitHub organizations' package registries.
2424

2525
To build an image in windows powershell:
2626
```powershell
27-
$ docker build \\?\$(Get-Location) -f . -t msgraph-cli-beta --secret id=user,src=./tmp/nuget_user.txt --secret id=token,src=./tmp/nuget_token.txt
27+
$ docker build \\?\$(Get-Location) -f . -t msgraph-beta-cli --secret id=user,src=./tmp/nuget_user.txt --secret id=token,src=./tmp/nuget_token.txt
2828
```
2929

3030
> The `\\?\$(Get-Location)` section of the command is used to get around the 260 character
@@ -34,5 +34,5 @@ $ docker build \\?\$(Get-Location) -f . -t msgraph-cli-beta --secret id=user,src
3434
3535
To build an image in linux or WSL:
3636
```sh
37-
$ docker build -t msgraph-cli-beta --secret id=user,src=./tmp/nuget_user.txt --secret id=token,src=./tmp/nuget_token.txt .
37+
$ docker build -t msgraph-beta-cli --secret id=user,src=./tmp/nuget_user.txt --secret id=token,src=./tmp/nuget_token.txt .
3838
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "msgraph-cli-beta", "src\msgraph-cli-beta.csproj", "{34F8C103-4AEF-4307-87CA-9D371DF30470}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "msgraph-beta-cli", "src\msgraph-beta-cli.csproj", "{34F8C103-4AEF-4307-87CA-9D371DF30470}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)