Compare commits

1 Commits

Author SHA1 Message Date
fe27248107 release: version 0.1.1 🚀
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Has been cancelled
CI / tests_linux (9.0.X, ubuntu-latest) (push) Has been cancelled
CI / linter (9.0.X, ubuntu-latest) (push) Has been cancelled
Upload Python Package / deploy (push) Has been cancelled
Upload Python Package / Create Release (push) Has been cancelled
2025-04-14 22:38:50 +02:00
8 changed files with 8 additions and 122 deletions

View File

@@ -86,9 +86,8 @@ start() {
echo "New version: $new_version" echo "New version: $new_version"
gitchangelog | grep -v "[rR]elease:" > HISTORY.md gitchangelog | grep -v "[rR]elease:" > HISTORY.md
git add HISTORY.md git add song_of_the_day/VERSION HISTORY.md
echo $new_version > song_of_the_day/VERSION echo $new_version > song_of_the_day/VERSION
git add song_of_the_day/VERSION
git commit -m "release: version $new_version 🚀" git commit -m "release: version $new_version 🚀"
echo "creating git tag : $new_version" echo "creating git tag : $new_version"
git tag $new_version git tag $new_version

View File

@@ -1,4 +1,4 @@
name: Build Docker image name: Upload Python Package
permissions: permissions:
contents: write contents: write
@@ -59,7 +59,7 @@ jobs:
registry: git.disi.dev registry: git.disi.dev
- name: Build and publish - name: Build and publish
run: | run: |
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]') REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}')
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_') REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
docker build -t "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)" ./song_of_the_day docker build -t "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)" ./song_of_the_day
docker push "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)" docker push "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)"

View File

@@ -5,118 +5,10 @@ Changelog
(unreleased) (unreleased)
------------ ------------
Fix
~~~
- Really fix Crontab dependency refs NOISSUE. [Simon Diesenreiter]
0.1.12 (2025-04-15)
-------------------
Fix
~~~
- Hotfixed CronTab dependencyrefs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.11 (2025-04-15)
-------------------
Fix
~~~
- More debug outputs refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.10 (2025-04-15)
-------------------
Fix
~~~
- Release version jumbled up refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.9 (2025-04-15)
------------------
0.1.8 (2025-04-15)
------------------
Fix
~~~
- Additional debug outputs refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.7 (2025-04-15)
------------------
Fix
~~~
- More fixes in release logic refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.6 (2025-04-15)
------------------
Fix
~~~
- Makefile issues on sh refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.5 (2025-04-14)
------------------
Fix
~~~
- Messed up release refs NOISSUE. [Simon Diesenreiter]
0.1.4 (2025-04-14)
------------------
Fix
~~~
- Repo casing refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.3 (2025-04-14)
------------------
0.1.2 (2025-04-14)
------------------
0.1.1 (2025-04-14)
------------------
Fix Fix
~~~ ~~~
- Correct container repo path, refs NOISSUE. [Simon Diesenreiter] - Correct container repo path, refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.1.0 (2025-04-14) 0.1.0 (2025-04-14)
------------------ ------------------

View File

@@ -2,7 +2,7 @@
.PHONY: issetup .PHONY: issetup
issetup: issetup:
@[ -f .git/hooks/commit-msg ] || [ $SKIP_MAKE_SETUP_CHECK = "true" ] || (echo "You must run 'make setup' first to initialize the repo!" && exit 1) @[ -f .git/hooks/commit-msg ] || [ -v SKIP_MAKE_SETUP_CHECK ] || (echo "You must run 'make setup' first to initialize the repo!" && exit 1)
.PHONY: setup .PHONY: setup
setup: setup:

View File

@@ -4,8 +4,8 @@
<!--To inherit the global NuGet package sources remove the <clear/> line below --> <!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear /> <clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" /> <add key="nuget" value="https://api.nuget.org/v3/index.json" />
<!--add key="gitea-projects" value="https://git.disi.dev/api/packages/Projects/nuget/index.json" /--> <!--add key="gitea-projects" value="https://git.disi.dev/api/packages/Projects/nuget/index.json" />
<add key="gitea-homelab" value="https://git.disi.dev/api/packages/Homelab/nuget/index.json" /> <add key="gitea-homelab" value="https://git.disi.dev/api/packages/Homelab/nuget/index.json" />
<!--add key="gitea-artifacts" value="https://git.disi.dev/api/packages/Artifacts/nuget/index.json" /--> <add key="gitea-artifacts" value="https://git.disi.dev/api/packages/Artifacts/nuget/index.json" /-->
</packageSources> </packageSources>
</configuration> </configuration>

View File

@@ -9,7 +9,6 @@ SignalIntegration.Instance = new SignalIntegration(AppConfiguration.Instance.Sig
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);
Console.WriteLine("Setting up user check timer");
var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false); var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
userCheckTimer.OnOccurence += async (s, ea) => userCheckTimer.OnOccurence += async (s, ea) =>
{ {
@@ -18,7 +17,6 @@ userCheckTimer.OnOccurence += async (s, ea) =>
var needsSaving = false; var needsSaving = false;
foreach (var memberId in memberList) foreach (var memberId in memberList)
{ {
Console.WriteLine("found member: " + memberId);
var foundUser = dci.Users.Where(u => u.SignalMemberId == memberId).SingleOrDefault(); var foundUser = dci.Users.Where(u => u.SignalMemberId == memberId).SingleOrDefault();
if (foundUser == null) if (foundUser == null)
{ {
@@ -45,7 +43,6 @@ userCheckTimer.OnOccurence += async (s, ea) =>
}; };
userCheckTimer.Start(); userCheckTimer.Start();
Console.WriteLine("Setting up user intro timer");
var userIntroTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false); var userIntroTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
userIntroTimer.OnOccurence += async (s, ea) => userIntroTimer.OnOccurence += async (s, ea) =>
{ {
@@ -67,8 +64,6 @@ userIntroTimer.OnOccurence += async (s, ea) =>
}; };
userIntroTimer.Start(); userIntroTimer.Start();
Console.WriteLine("Setting up pick of the day timer");
var pickOfTheDayTimer = new CronTimer("0 8 * * *", "Europe/Vienna", includingSeconds: false); var pickOfTheDayTimer = new CronTimer("0 8 * * *", "Europe/Vienna", includingSeconds: false);
pickOfTheDayTimer.OnOccurence += async (s, ea) => pickOfTheDayTimer.OnOccurence += async (s, ea) =>
{ {

View File

@@ -1 +1 @@
0.1.13 0.1.0

View File

@@ -16,7 +16,7 @@
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" /> <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" /> <PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.*" /> <PackageReference Include="Scalar.AspNetCore" Version="2.1.*" />
<PackageReference Include="CronTimer" Version="2.0.1"So /> <PackageReference Include="CronTimer" Version="2.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" /> <OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" />