This commit is contained in:
4
.gitea/deploy.awk
Normal file
4
.gitea/deploy.awk
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
gsub(/^v/, "slack-timedate-")
|
||||||
|
print $0
|
||||||
|
}
|
||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
shell: ash {0}
|
shell: ash {0}
|
||||||
run: |
|
run: |
|
||||||
apk -U upgrade
|
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
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: buildenv
|
container: buildenv:5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Archive
|
- name: Archive
|
||||||
run: |
|
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
|
ln -s . $DISTRIBUTION
|
||||||
touch $DISTRIBUTION.tar.xz
|
touch $DISTRIBUTION.tar.xz
|
||||||
tar --exclude="${DISTRIBUTION}/${DISTRIBUTION}*" --exclude-vcs -Jcvhf $DISTRIBUTION.tar.xz $DISTRIBUTION
|
tar --exclude="${DISTRIBUTION}/${DISTRIBUTION}*" --exclude-vcs -Jcvhf $DISTRIBUTION.tar.xz $DISTRIBUTION
|
||||||
|
|||||||
@@ -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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
Reference in New Issue
Block a user