This document outlines the steps for building, testing, and contributing to the AWS Service Authentication Tool.
Ensure you have the following installed and configured:
- .NET 8 SDK: Download it from the .NET website.
- AWS CLI: Installed and configured. Refer to the AWS CLI Installation Guide and Configuring the AWS CLI.
- Docker: Installed for ECR authentication. Refer to Docker Installation Guide.
- Git: To clone and manage the repository.
-
Clone the repository:
git clone https://github.com/karimz1/AWS-Service-Authentication-Tool.git cd AWS-Service-Authentication-Tool
-
Restore dependencies:
dotnet restore
-
Build the project:
dotnet build --configuration Release
-
Run the tool locally:
dotnet run --project ./src/AwsServiceAuthenticator.Cli/AwsServiceAuthenticator.Cli.csproj -- --command nuget --region us-east-1 --logFolderPath ./logs
Run all tests using the following command:
dotnet test
Ensure all tests pass before submitting changes.
This repository uses GitHub Actions to automate releases.
-
Update the version in the
.csproj
file:<PropertyGroup> <Version>1.0.0</Version> </PropertyGroup>
-
Commit your changes:
git add . git commit -m "Release v1.0.0"
-
Tag the release:
git tag v1.0.0 git push origin v1.0.0
-
GitHub Actions will automatically:
- Build the project for all platforms.
- Create a new GitHub release.
- Publish the package to NuGet.org.
I welcome contributions! To get started:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git add . git commit -m "Add feature: your-feature-name"
-
Push your branch to your fork:
git push origin feature/your-feature-name
-
Open a pull request on the main repository.
This project is licensed under the MIT License. For more details, see the LICENSE file.