Compare commits
1 Commits
4d657cf887
...
0.1.2
Author | SHA1 | Date | |
---|---|---|---|
a76e73bc92 |
@@ -86,9 +86,8 @@ start() {
|
||||
echo "New version: $new_version"
|
||||
|
||||
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
|
||||
git add song_of_the_day/VERSION
|
||||
git commit -m "release: version $new_version 🚀"
|
||||
echo "creating git tag : $new_version"
|
||||
git tag $new_version
|
||||
|
@@ -1,4 +1,4 @@
|
||||
name: Build Docker image
|
||||
name: Upload Python Package
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
registry: git.disi.dev
|
||||
- name: Build and publish
|
||||
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 '-' '_')
|
||||
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)"
|
||||
|
119
HISTORY.md
119
HISTORY.md
@@ -5,129 +5,10 @@ Changelog
|
||||
(unreleased)
|
||||
------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Fix typo refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.1.13 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Really fix Crontab dependency refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
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
|
||||
~~~
|
||||
- Correct container repo path, refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.0 (2025-04-14)
|
||||
------------------
|
||||
|
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@
|
||||
|
||||
.PHONY: 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
|
||||
setup:
|
||||
|
@@ -4,8 +4,8 @@
|
||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||
<clear />
|
||||
<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-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>
|
||||
</configuration>
|
||||
|
@@ -9,7 +9,6 @@ SignalIntegration.Instance = new SignalIntegration(AppConfiguration.Instance.Sig
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
Console.WriteLine("Setting up user check timer");
|
||||
var userCheckTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||
userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
@@ -18,7 +17,6 @@ userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
var needsSaving = false;
|
||||
foreach (var memberId in memberList)
|
||||
{
|
||||
Console.WriteLine("found member: " + memberId);
|
||||
var foundUser = dci.Users.Where(u => u.SignalMemberId == memberId).SingleOrDefault();
|
||||
if (foundUser == null)
|
||||
{
|
||||
@@ -45,7 +43,6 @@ userCheckTimer.OnOccurence += async (s, ea) =>
|
||||
};
|
||||
userCheckTimer.Start();
|
||||
|
||||
Console.WriteLine("Setting up user intro timer");
|
||||
var userIntroTimer = new CronTimer("*/1 * * * *", "Europe/Vienna", includingSeconds: false);
|
||||
userIntroTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
@@ -67,8 +64,6 @@ userIntroTimer.OnOccurence += async (s, ea) =>
|
||||
};
|
||||
userIntroTimer.Start();
|
||||
|
||||
|
||||
Console.WriteLine("Setting up pick of the day timer");
|
||||
var pickOfTheDayTimer = new CronTimer("0 8 * * *", "Europe/Vienna", includingSeconds: false);
|
||||
pickOfTheDayTimer.OnOccurence += async (s, ea) =>
|
||||
{
|
||||
|
@@ -1 +1 @@
|
||||
0.1.14
|
||||
0.1.1
|
||||
|
@@ -16,7 +16,7 @@
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
||||
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
|
||||
<PackageReference Include="Scalar.AspNetCore" Version="2.1.*" />
|
||||
<PackageReference Include="CronTimer" Version="2.0.1" />
|
||||
<PackageReference Include="CronTimer" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" />
|
||||
|
Reference in New Issue
Block a user