Skip to content

Commit

Permalink
ci: template plugin files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Dec 6, 2024
1 parent bad757e commit 3a9c791
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
20 changes: 10 additions & 10 deletions plugin/tailscale-preview.plg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PLUGIN
name="tailscale"
author="Derek Kaser"
version="2024.12.05"
version="2024.12.06"
pluginURL="https://raw.githubusercontent.com/unraid/unraid-tailscale/preview/plugin/tailscale-preview.plg"
launch="Settings/Tailscale"
support="https://forums.unraid.net/topic/136889-plugin-tailscale/"
Expand All @@ -13,9 +13,9 @@

<CHANGES>
<![CDATA[
###2024.12.05###
###2024.12.06###
- Update Tailscale to 1.78.0
- Update Tailscale to 1.78.1
###2024.11.13b###
Expand All @@ -35,9 +35,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
]]>
</CHANGES>

<FILE Name="/boot/config/plugins/tailscale/tailscale_1.78.0_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.78.0_amd64.tgz</URL>
<SHA256>149c2f92fbbb33ca4c13872e2c68e9bee3083d8ce7b41d72754d039907d6436a</SHA256>
<FILE Name="/boot/config/plugins/tailscale/tailscale_1.78.1_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.78.1_amd64.tgz</URL>
<SHA256>3db491bd6800012173cb6b739fa6705272f71da3e622f23639a3a385f2474a89</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
Expand All @@ -58,15 +58,15 @@ fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.78.0_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.78.1_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
echo "state" > /boot/config/plugins/tailscale/.gitignore
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscale
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2024.12.05" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.12.06" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "BRANCH=preview" >> /var/local/emhttp/plugins/tailscale/tailscale.ini
# remove other branches (e.g., if switching from main to preview)
Expand All @@ -90,7 +90,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
rm -f /boot/config/plugins/tailscale/tailscale-utils-*.txz
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.14')
rm -f $(ls /boot/config/plugins/tailscale/unraid-plugin-diagnostics-*.txz 2>/dev/null)
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.78.0_amd64')
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.78.1_amd64')
# check to see if the state file has been backed up to Unraid Connect
if [ -d "/boot/.git" ]; then
Expand All @@ -113,7 +113,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.12.05"
echo " Version: 2024.12.06"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
20 changes: 10 additions & 10 deletions plugin/tailscale-trunk.plg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PLUGIN
name="tailscale"
author="Derek Kaser"
version="2024.12.05"
version="2024.12.06"
pluginURL="https://raw.githubusercontent.com/unraid/unraid-tailscale/trunk/plugin/tailscale-trunk.plg"
launch="Settings/Tailscale"
support="https://forums.unraid.net/topic/136889-plugin-tailscale/"
Expand All @@ -13,9 +13,9 @@

<CHANGES>
<![CDATA[
###2024.12.05###
###2024.12.06###
- Update Tailscale to 1.78.0
- Update Tailscale to 1.78.1
###2024.11.13b###
Expand All @@ -35,9 +35,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
]]>
</CHANGES>

<FILE Name="/boot/config/plugins/tailscale/tailscale_1.78.0_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.78.0_amd64.tgz</URL>
<SHA256>149c2f92fbbb33ca4c13872e2c68e9bee3083d8ce7b41d72754d039907d6436a</SHA256>
<FILE Name="/boot/config/plugins/tailscale/tailscale_1.78.1_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.78.1_amd64.tgz</URL>
<SHA256>3db491bd6800012173cb6b739fa6705272f71da3e622f23639a3a385f2474a89</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
Expand All @@ -58,15 +58,15 @@ fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.78.0_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.78.1_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
echo "state" > /boot/config/plugins/tailscale/.gitignore
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscale
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2024.12.05" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.12.06" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "BRANCH=trunk" >> /var/local/emhttp/plugins/tailscale/tailscale.ini
# remove other branches (e.g., if switching from main to preview)
Expand All @@ -90,7 +90,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
rm -f /boot/config/plugins/tailscale/tailscale-utils-*.txz
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.14')
rm -f $(ls /boot/config/plugins/tailscale/unraid-plugin-diagnostics-*.txz 2>/dev/null)
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.78.0_amd64')
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.78.1_amd64')
# check to see if the state file has been backed up to Unraid Connect
if [ -d "/boot/.git" ]; then
Expand All @@ -113,7 +113,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.12.05"
echo " Version: 2024.12.06"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
20 changes: 10 additions & 10 deletions plugin/tailscale.plg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PLUGIN
name="tailscale"
author="Derek Kaser"
version="2024.12.05"
version="2024.12.06"
pluginURL="https://raw.githubusercontent.com/unraid/unraid-tailscale/main/plugin/tailscale.plg"
launch="Settings/Tailscale"
support="https://forums.unraid.net/topic/136889-plugin-tailscale/"
Expand All @@ -13,9 +13,9 @@

<CHANGES>
<![CDATA[
###2024.12.05###
###2024.12.06###
- Update Tailscale to 1.78.0
- Update Tailscale to 1.78.1
###2024.11.13b###
Expand All @@ -35,9 +35,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
]]>
</CHANGES>

<FILE Name="/boot/config/plugins/tailscale/tailscale_1.78.0_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.78.0_amd64.tgz</URL>
<SHA256>149c2f92fbbb33ca4c13872e2c68e9bee3083d8ce7b41d72754d039907d6436a</SHA256>
<FILE Name="/boot/config/plugins/tailscale/tailscale_1.78.1_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.78.1_amd64.tgz</URL>
<SHA256>3db491bd6800012173cb6b739fa6705272f71da3e622f23639a3a385f2474a89</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
Expand All @@ -58,15 +58,15 @@ fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.78.0_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.78.1_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
echo "state" > /boot/config/plugins/tailscale/.gitignore
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscale
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2024.12.05" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.12.06" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "BRANCH=main" >> /var/local/emhttp/plugins/tailscale/tailscale.ini
# remove other branches (e.g., if switching from main to preview)
Expand All @@ -88,7 +88,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
rm -f /boot/config/plugins/tailscale/tailscale-utils-*.txz
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.14')
rm -f $(ls /boot/config/plugins/tailscale/unraid-plugin-diagnostics-*.txz 2>/dev/null)
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.78.0_amd64')
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.78.1_amd64')
# check to see if the state file has been backed up to Unraid Connect
if [ -d "/boot/.git" ]; then
Expand All @@ -111,7 +111,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.12.05"
echo " Version: 2024.12.06"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down

0 comments on commit 3a9c791

Please sign in to comment.