Skip to content

Commit a848f2b

Browse files
authored
Merge branch 'dev' into normj/v4-sdk
2 parents a1174dc + 41d380d commit a848f2b

File tree

11 files changed

+44
-15
lines changed

11 files changed

+44
-15
lines changed

.github/workflows/change-file-in-pr.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, labeled]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check-files-in-directory:
912
if: ${{ !contains(github.event.pull_request.labels.*.name, 'Release Not Needed') && !contains(github.event.pull_request.labels.*.name, 'Release PR') }}
@@ -12,11 +15,11 @@ jobs:
1215

1316
steps:
1417
- name: Checkout PR code
15-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1619

1720
- name: Get List of Changed Files
1821
id: changed-files
19-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c #v45
22+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 #v45
2023

2124
- name: Check for Change File(s) in .autover/changes/
2225
run: |

.github/workflows/closed-issue-message.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Closed Issue Message
22
on:
33
issues:
44
types: [closed]
5+
permissions:
6+
issues: write
7+
58
jobs:
69
auto_comment:
710
runs-on: ubuntu-latest

.github/workflows/create-release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
parse-json-secrets: true
3939
# Checkout a full clone of the repo
4040
- name: Checkout
41-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f #v4.2.2
41+
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #v4.2.2
4242
with:
4343
fetch-depth: '0'
4444
token: ${{ env.AWS_SECRET_TOKEN }}
4545
# Install .NET8 which is needed for AutoVer
4646
- name: Setup .NET 8.0
47-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
47+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d #v5.0.0
4848
with:
4949
dotnet-version: 8.0.x
5050
# Install AutoVer to automate versioning and changelog creation

.github/workflows/semgrep-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: (github.actor != 'dependabot[bot]')
2626
steps:
2727
# Fetch project source
28-
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f #v4.2.2
28+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #v4.2.2
2929

3030
- run: semgrep ci --sarif > semgrep.sarif
3131
env:

.github/workflows/stale_issues.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
schedule:
66
- cron: "0 0 * * *"
77

8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
812
jobs:
913
cleanup:
1014
runs-on: ubuntu-latest

.github/workflows/sync-master-dev.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ jobs:
3939
parse-json-secrets: true
4040
# Checkout a full clone of the repo
4141
- name: Checkout code
42-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f #v4.2.2
42+
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #v4.2.2
4343
with:
4444
ref: dev
4545
fetch-depth: 0
4646
token: ${{ env.AWS_SECRET_TOKEN }}
4747
# Install .NET9 which is needed for AutoVer
4848
- name: Setup .NET 9.0
49-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
49+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d #v5.0.0
5050
with:
5151
dotnet-version: 9.0.x
5252
# Install AutoVer which is needed to retrieve information about the current release.
@@ -111,13 +111,13 @@ jobs:
111111
steps:
112112
# Checkout a full clone of the repo
113113
- name: Checkout code
114-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f #v4.2.2
114+
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #v4.2.2
115115
with:
116116
ref: releases/next-release
117117
fetch-depth: 0
118118
# Install .NET9 which is needed for AutoVer
119119
- name: Setup .NET 9.0
120-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
120+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d #v5.0.0
121121
with:
122122
dotnet-version: 9.0.x
123123
# Install AutoVer which is needed to retrieve information about the current release.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## Release 2025-11-18
2+
3+
### Amazon.Lambda.Tools (5.13.2)
4+
* Fix: Use function architecture to determine artifact path instead of hardcoded 'x64'.
5+
6+
## Release 2025-11-10
7+
8+
### Amazon.Lambda.Tools (5.13.1)
9+
* Add support for solutions migrated to slnx
10+
111
## Release 2025-07-30
212

313
### Amazon.ElasticBeanstalk.Tools (4.4.1)

src/Amazon.Common.DotNetCli.Tools/Commands/BasePushDockerImageCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public static DockerDetails InspectDockerFile(IToolLogger logger, string project
413413
{
414414
var noSpaceLine = line.Replace(" ", "");
415415

416-
if (noSpaceLine.StartsWith("COPY") && (noSpaceLine.EndsWith(".sln./") || (projectFilename != null && noSpaceLine.Contains("/" + projectFilename))))
416+
if (noSpaceLine.StartsWith("COPY") && (noSpaceLine.EndsWith(".sln./") || noSpaceLine.EndsWith(".slnx./") || (projectFilename != null && noSpaceLine.Contains("/" + projectFilename))))
417417
{
418418
details.BuildFromSolutionDirectory = true;
419419
logger?.WriteLine("... Determined that docker build needs to be run from solution folder.");
@@ -441,6 +441,9 @@ public static string DetermineSolutionDirectory(string projectLocation)
441441
{
442442
if (Directory.GetFiles(projectLocation, "*.sln", SearchOption.TopDirectoryOnly).Length != 0)
443443
return projectLocation;
444+
445+
if (Directory.GetFiles(projectLocation, "*.slnx", SearchOption.TopDirectoryOnly).Length != 0)
446+
return projectLocation;
444447

445448
var parent = Directory.GetParent(projectLocation)?.FullName;
446449
if (parent == null)

src/Amazon.Common.DotNetCli.Tools/Utilities.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ public static string GetSolutionDirectoryFullPath(string workingDirectory, strin
175175
return currentDirectory.TrimEnd('\\', '/');
176176
}
177177

178+
if (Directory.EnumerateFiles(currentDirectory).Any(x => x.EndsWith(".slnx", StringComparison.OrdinalIgnoreCase)))
179+
{
180+
return currentDirectory.TrimEnd('\\', '/');
181+
}
182+
178183
DirectoryInfo dirInfo = Directory.GetParent(currentDirectory);
179184
if ((dirInfo == null) || !dirInfo.Exists)
180185
{

src/Amazon.Lambda.Tools/Amazon.Lambda.Tools.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
<Copyright>Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.</Copyright>
1616
<Product>AWS Lambda Tools for .NET CLI</Product>
1717
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
18-
<Version>5.13.0</Version>
1918
<!--
2019
This is explicitly set to 7.3 to match what the AWS VS Toolkit uses. This is required because
2120
the source code here is also copied into the AWS VS Toolkit.
2221
-->
23-
<LangVersion>7.3</LangVersion>
22+
<LangVersion>7.3</LangVersion>
23+
<Version>5.13.2</Version>
2424
</PropertyGroup>
2525
<ItemGroup>
2626
<Content Include="Resources\build-lambda-zip.exe">

0 commit comments

Comments
 (0)