chore: Bump version to 1.5.1 - Add Positions management page with manual close functionality

This commit is contained in:
2025-12-22 21:04:16 +01:00
parent ae5f8f9249
commit 0809c9af87

View File

@@ -19,13 +19,13 @@
- 1.0.1 -> 1.1.0 (new feature) - 1.0.1 -> 1.1.0 (new feature)
- 1.1.0 -> 2.0.0 (breaking change) - 1.1.0 -> 2.0.0 (breaking change)
--> -->
<Version>1.5.0</Version> <Version>1.5.1</Version>
<AssemblyVersion>1.5.0.0</AssemblyVersion> <AssemblyVersion>1.5.1.0</AssemblyVersion>
<FileVersion>1.5.0.0</FileVersion> <FileVersion>1.5.1.0</FileVersion>
<!-- Assembly Information --> <!-- Assembly Information -->
<Product>TradingBot</Product> <Product>TradingBot</Product>
<Description>Automated Crypto Trading Bot with Blazor UI</Description> <Description>Automated Crypto Trading Bot with Blazor UI</Description>
<Copyright>Copyright © 2024 Alby96</Copyright> <Copyright>Copyright © 2024 Alby96</Copyright>
<Company>Alby96</Company> <Company>Alby96</Company>
<Authors>Alby96</Authors> <Authors>Alby96</Authors>
<!-- Build Metadata --> <!-- Build Metadata -->
@@ -53,7 +53,7 @@
- Configuration = Release - Configuration = Release
- Non dentro container Docker - Non dentro container Docker
- Profilo Docker in uso - Profilo Docker in uso
- Docker daemon running (verifica disponibilità) - Docker daemon running (verifica disponibilità)
--> -->
<Target Name="PushToGiteaRegistry" AfterTargets="Publish" Condition="'$(Configuration)' == 'Release' And '$(DOTNET_RUNNING_IN_CONTAINER)' != 'true' And '$(DockerPublish)' == 'true'"> <Target Name="PushToGiteaRegistry" AfterTargets="Publish" Condition="'$(Configuration)' == 'Release' And '$(DOTNET_RUNNING_IN_CONTAINER)' != 'true' And '$(DockerPublish)' == 'true'">
<PropertyGroup> <PropertyGroup>
@@ -72,18 +72,18 @@
</PropertyGroup> </PropertyGroup>
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="========================================" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="========================================" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=¢Å¡Â Ã¯Â¸Â Docker Not Available" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=ƒÂ¢Ã…¡Â Ã¯Â¸Â Docker Not Available" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="========================================" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="========================================" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="Docker daemon is not running or Docker Desktop is not started." /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="Docker daemon is not running or Docker Desktop is not started." />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=°Å¸â€œâ€¹ To enable Gitea Registry push:" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=ƒÂ°Ã…¸â€œâ€¹ To enable Gitea Registry push:" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=" 1. Start Docker Desktop" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=" 1. Start Docker Desktop" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=" 2. Wait for Docker to be ready" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=" 2. Wait for Docker to be ready" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=" 3. Run Publish again" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=" 3. Run Publish again" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=¢Å“… Compilation successful - application ready to run locally" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=ƒÂ¢Ã…“… Compilation successful - application ready to run locally" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=¢ÂÂ­Ã¯Â¸Â Skipping Gitea Registry push" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text=ƒÂ¢Ã‚Â­Ã¯Â¸Â Skipping Gitea Registry push" />
<Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" /> <Message Condition="'$(DockerAvailable)' != 'true'" Importance="high" Text="" />
<!-- Only execute Docker commands if Docker is available --> <!-- Only execute Docker commands if Docker is available -->
<CallTarget Condition="'$(DockerAvailable)' == 'true'" Targets="ExecuteGiteaPush" /> <CallTarget Condition="'$(DockerAvailable)' == 'true'" Targets="ExecuteGiteaPush" />
@@ -96,42 +96,42 @@
</PropertyGroup> </PropertyGroup>
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text="========================================" /> <Message Importance="high" Text="========================================" />
<Message Importance="high" Text=°Å¸ÂÂ³ Gitea Container Registry Push" /> <Message Importance="high" Text=ƒÂ°Ã…¸ÂÂ³ Gitea Container Registry Push" />
<Message Importance="high" Text="========================================" /> <Message Importance="high" Text="========================================" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text=°Å¸â€œÂ¦ Version: $(Version)" /> <Message Importance="high" Text=ƒÂ°Ã…¸â€œÂ¦ Version: $(Version)" />
<Message Importance="high" Text=°Å¸â€œâ€¦ Build Date: $(BuildDate)" /> <Message Importance="high" Text=ƒÂ°Ã…¸â€œâ€¦ Build Date: $(BuildDate)" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text=°Å¸ÂÂ·Ã¯Â¸Â Creating tags..." /> <Message Importance="high" Text=ƒÂ°Ã…¸ÂÂ·Ã¯Â¸Â Creating tags..." />
<!-- Tag 1: latest --> <!-- Tag 1: latest -->
<Exec Command="docker tag tradingbot:latest $(GiteaImage):latest" /> <Exec Command="docker tag tradingbot:latest $(GiteaImage):latest" />
<Message Importance="high" Text=" ✅ latest" /> <Message Importance="high" Text=" ✅ latest" />
<!-- Tag 2: Version (semantic) --> <!-- Tag 2: Version (semantic) -->
<Exec Command="docker tag tradingbot:latest $(GiteaImage):$(Version)" /> <Exec Command="docker tag tradingbot:latest $(GiteaImage):$(Version)" />
<Message Importance="high" Text=" ✅ $(Version)" /> <Message Importance="high" Text=" ✅ $(Version)" />
<!-- Tag 3: Version-Date --> <!-- Tag 3: Version-Date -->
<Exec Command="docker tag tradingbot:latest $(GiteaImage):$(VersionedTag)" /> <Exec Command="docker tag tradingbot:latest $(GiteaImage):$(VersionedTag)" />
<Message Importance="high" Text=" ✅ $(VersionedTag)" /> <Message Importance="high" Text=" ✅ $(VersionedTag)" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text=°Å¸Å¡â‚¬ Pushing to $(ContainerRegistry)..." /> <Message Importance="high" Text=ƒÂ°Ã…¸Å¡â‚¬ Pushing to $(ContainerRegistry)..." />
<!-- Push all tags --> <!-- Push all tags -->
<Exec Command="docker push $(GiteaImage):latest" /> <Exec Command="docker push $(GiteaImage):latest" />
<Message Importance="high" Text=" ✅ Pushed: latest" /> <Message Importance="high" Text=" ✅ Pushed: latest" />
<Exec Command="docker push $(GiteaImage):$(Version)" /> <Exec Command="docker push $(GiteaImage):$(Version)" />
<Message Importance="high" Text=" ✅ Pushed: $(Version)" /> <Message Importance="high" Text=" ✅ Pushed: $(Version)" />
<Exec Command="docker push $(GiteaImage):$(VersionedTag)" /> <Exec Command="docker push $(GiteaImage):$(VersionedTag)" />
<Message Importance="high" Text=" ✅ Pushed: $(VersionedTag)" /> <Message Importance="high" Text=" ✅ Pushed: $(VersionedTag)" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text="========================================" /> <Message Importance="high" Text="========================================" />
<Message Importance="high" Text=¢Å“… Successfully pushed to Gitea Registry!" /> <Message Importance="high" Text=ƒÂ¢Ã…“… Successfully pushed to Gitea Registry!" />
<Message Importance="high" Text="========================================" /> <Message Importance="high" Text="========================================" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text=°Å¸â€œÂ¦ Published images:" /> <Message Importance="high" Text=ƒÂ°Ã…¸â€œÂ¦ Published images:" />
<Message Importance="high" Text=" - $(GiteaImage):latest" /> <Message Importance="high" Text=" - $(GiteaImage):latest" />
<Message Importance="high" Text=" - $(GiteaImage):$(Version)" /> <Message Importance="high" Text=" - $(GiteaImage):$(Version)" />
<Message Importance="high" Text=" - $(GiteaImage):$(VersionedTag)" /> <Message Importance="high" Text=" - $(GiteaImage):$(VersionedTag)" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
<Message Importance="high" Text=°Å¸â€â€ Verify at:" /> <Message Importance="high" Text=ƒÂ°Ã…¸â€â€” Verify at:" />
<Message Importance="high" Text=" https://$(ContainerRegistry)/Alby96/Encelado/-/packages" /> <Message Importance="high" Text=" https://$(ContainerRegistry)/Alby96/Encelado/-/packages" />
<Message Importance="high" Text="" /> <Message Importance="high" Text="" />
</Target> </Target>