diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-02-22 13:09:53 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-02-22 13:17:39 +0100 |
| commit | 4c2210109f0cdb954103480d3ff28111a884119f (patch) | |
| tree | 45616306e926a62d84ecc76d9f06cd7a280b485e | |
| parent | 98856a61d5a51d6390e7d94161643b94acb231a3 (diff) | |
| download | slack-timedate-4c2210109f0cdb954103480d3ff28111a884119f.tar.gz | |
Extract awk script into a file
| -rw-r--r-- | .gitea/deploy.awk | 4 | ||||
| -rw-r--r-- | .gitea/workflows/build.yaml | 2 | ||||
| -rw-r--r-- | .gitea/workflows/deploy.yaml | 4 | ||||
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | data/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/main.cpp | 2 | ||||
| -rw-r--r-- | src/timedate.cpp | 2 | ||||
| -rw-r--r-- | src/timedate.h | 2 |
9 files changed, 13 insertions, 9 deletions
diff --git a/.gitea/deploy.awk b/.gitea/deploy.awk new file mode 100644 index 0000000..d330a5b --- /dev/null +++ b/.gitea/deploy.awk @@ -0,0 +1,4 @@ +{ + gsub(/^v/, "slack-timedate-") + print $0 +} diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a61bd06..684e638 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,7 +15,7 @@ jobs: shell: ash {0} run: | apk -U upgrade - apk add --no-cache git bash cmake build-base pkgconf glibmm-dev dbus-dev + apk add --no-cache git bash cmake build-base pkgconf glibmm2.66-dev dbus-dev - uses: actions/checkout@v4 - name: Build run: | diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index dc623bc..e60bec8 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -7,12 +7,12 @@ on: jobs: deploy: - runs-on: buildenv + container: buildenv:5 steps: - uses: actions/checkout@v4 - name: Archive run: | - DISTRIBUTION=$(echo $GITHUB_REF_NAME | awk '{ gsub(/^v/, "slack-timedate-"); print $0 }') + DISTRIBUTION=$(echo $GITHUB_REF_NAME | awk -f .gitea/deploy.awk) ln -s . $DISTRIBUTION touch $DISTRIBUTION.tar.xz tar --exclude="${DISTRIBUTION}/${DISTRIBUTION}*" --exclude-vcs -Jcvhf $DISTRIBUTION.tar.xz $DISTRIBUTION diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c9d1b0..155e5d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2025 Eugen Wissner <belka@caraus.de> +# Copyright (C) 2013-2026 Eugen Wissner <belka@caraus.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 394989c..c256b07 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2025 Eugen Wissner <belka@caraus.de> +# Copyright (C) 2013-2026 Eugen Wissner <belka@caraus.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3ce7c6a..730c868 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2025 Eugen Wissner <belka@caraus.de> +# Copyright (C) 2013-2026 Eugen Wissner <belka@caraus.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/main.cpp b/src/main.cpp index 92deafc..9047b6f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2025 Eugen Wissner <belka@caraus.de> + * Copyright (C) 2013-2026 Eugen Wissner <belka@caraus.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/timedate.cpp b/src/timedate.cpp index 3c17ffc..3615271 100644 --- a/src/timedate.cpp +++ b/src/timedate.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2025 Eugen Wissner <belka@caraus.de> + * Copyright (C) 2013-2026 Eugen Wissner <belka@caraus.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/timedate.h b/src/timedate.h index 31d0621..07f0aae 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2025 Eugen Wissner <belka@caraus.de> + * Copyright (C) 2013-2026 Eugen Wissner <belka@caraus.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by |
