Skip to content

Commit

Permalink
chore: update proto-upgrade workflow to use unique branch names
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
  • Loading branch information
markphelps committed Dec 11, 2024
1 parent 7b0ce8b commit 4521f14
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/proto-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ jobs:
GIT_COMMITTER_EMAIL: [email protected]
GH_TOKEN: ${{ github.token }}
run: |
git checkout -b "generate/${{ inputs.tag }}"
git pull origin main
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
BRANCH_NAME="generate/${{ inputs.tag }}-${TIMESTAMP}"
git checkout -b "${BRANCH_NAME}"
git add --all .
git commit -m "feat: updates to protobuf definitions for flipt ${{ inputs.tag }}"
git push origin "generate/${{ inputs.tag }}"
git push origin "${BRANCH_NAME}"
gh pr create --title "feat: updates to protobuf definitions for flipt ${{ inputs.tag }}" \
--body "Upgrading generated client to the protobuf definitions found in Flipt ${{ inputs.tag }}."
39 changes: 39 additions & 0 deletions flipt-grpc-dotnet.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{AF10ACAD-1E6D-4A5A-9CEB-123A73F24A35}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Basic", "examples\Basic\Basic.csproj", "{1C6D0B9A-6891-4D02-94C7-33FA62518F1C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A0A44184-9FC1-40A7-9AA9-A80AE875A85D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "flipt-grpc", "src\Flipt.Grpc\flipt-grpc.csproj", "{F53DF647-6006-4D52-A0C4-9DA14B2D2B71}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1C6D0B9A-6891-4D02-94C7-33FA62518F1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C6D0B9A-6891-4D02-94C7-33FA62518F1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C6D0B9A-6891-4D02-94C7-33FA62518F1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C6D0B9A-6891-4D02-94C7-33FA62518F1C}.Release|Any CPU.Build.0 = Release|Any CPU
{F53DF647-6006-4D52-A0C4-9DA14B2D2B71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F53DF647-6006-4D52-A0C4-9DA14B2D2B71}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F53DF647-6006-4D52-A0C4-9DA14B2D2B71}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F53DF647-6006-4D52-A0C4-9DA14B2D2B71}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{1C6D0B9A-6891-4D02-94C7-33FA62518F1C} = {AF10ACAD-1E6D-4A5A-9CEB-123A73F24A35}
{F53DF647-6006-4D52-A0C4-9DA14B2D2B71} = {A0A44184-9FC1-40A7-9AA9-A80AE875A85D}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {35E5BDF5-9942-4EA0-B851-BE7F285C38C5}
EndGlobalSection
EndGlobal

0 comments on commit 4521f14

Please sign in to comment.