Extract awk script into a file
Build / build (push) Failing after 14s

This commit is contained in:
2026-02-22 13:09:53 +01:00
parent 98856a61d5
commit be5fd28ddb
8 changed files with 12 additions and 8 deletions
+4
View File
@@ -0,0 +1,4 @@
{
gsub(/^v/, "slack-timedate-")
print $0
}
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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