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 Nov 1, 2024
1 parent b6de060 commit 8fe6ea2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 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.10.29"
version="2024.10.31"
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 Down Expand Up @@ -41,9 +41,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
<SHA256>6b11493710d8aa706027f41b2dbf1eb92069d5969490f46460e686c424b96036</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.5-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.5/unraid-tailscale-utils-2.2.5-noarch-1.txz</URL>
<SHA256>1abec2250c76fbe74bd7526128c4fe491bc7f63f147cbf51ec8bcb6afde1f1a2</SHA256>
<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.6-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.6/unraid-tailscale-utils-2.2.6-noarch-1.txz</URL>
<SHA256>ce38a98da79bbf5f070049d3487e76bb89fc230d687096c03db395fc7f7c599e</SHA256>
</FILE>

<!--
Expand All @@ -56,7 +56,7 @@ if [ -d "/usr/local/emhttp/plugins/tailscale" ]; then
rm -rf /usr/local/emhttp/plugins/tailscale
fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.5-noarch-1.txz
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.6-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.76.1_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
Expand All @@ -67,7 +67,7 @@ ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscal
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2024.10.29" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.10.31" > /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 @@ -89,7 +89,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
# cleanup old versions
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.5')
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.6')
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.76.1_amd64')
Expand All @@ -114,7 +114,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.10.29"
echo " Version: 2024.10.31"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
16 changes: 8 additions & 8 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.10.29"
version="2024.10.31"
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 Down Expand Up @@ -41,9 +41,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
<SHA256>6b11493710d8aa706027f41b2dbf1eb92069d5969490f46460e686c424b96036</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.5-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.5/unraid-tailscale-utils-2.2.5-noarch-1.txz</URL>
<SHA256>1abec2250c76fbe74bd7526128c4fe491bc7f63f147cbf51ec8bcb6afde1f1a2</SHA256>
<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.6-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.6/unraid-tailscale-utils-2.2.6-noarch-1.txz</URL>
<SHA256>ce38a98da79bbf5f070049d3487e76bb89fc230d687096c03db395fc7f7c599e</SHA256>
</FILE>

<!--
Expand All @@ -56,7 +56,7 @@ if [ -d "/usr/local/emhttp/plugins/tailscale" ]; then
rm -rf /usr/local/emhttp/plugins/tailscale
fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.5-noarch-1.txz
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.6-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.76.1_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
Expand All @@ -67,7 +67,7 @@ ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscal
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2024.10.29" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.10.31" > /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 @@ -89,7 +89,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
# cleanup old versions
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.5')
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.6')
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.76.1_amd64')
Expand All @@ -114,7 +114,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.10.29"
echo " Version: 2024.10.31"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
16 changes: 8 additions & 8 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.10.29"
version="2024.10.31"
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 Down Expand Up @@ -41,9 +41,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
<SHA256>6b11493710d8aa706027f41b2dbf1eb92069d5969490f46460e686c424b96036</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.5-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.5/unraid-tailscale-utils-2.2.5-noarch-1.txz</URL>
<SHA256>1abec2250c76fbe74bd7526128c4fe491bc7f63f147cbf51ec8bcb6afde1f1a2</SHA256>
<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.6-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.6/unraid-tailscale-utils-2.2.6-noarch-1.txz</URL>
<SHA256>ce38a98da79bbf5f070049d3487e76bb89fc230d687096c03db395fc7f7c599e</SHA256>
</FILE>

<!--
Expand All @@ -56,7 +56,7 @@ if [ -d "/usr/local/emhttp/plugins/tailscale" ]; then
rm -rf /usr/local/emhttp/plugins/tailscale
fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.5-noarch-1.txz
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.6-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.76.1_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
Expand All @@ -67,7 +67,7 @@ ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscal
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2024.10.29" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.10.31" > /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 @@ -87,7 +87,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
# cleanup old versions
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.5')
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.6')
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.76.1_amd64')
Expand All @@ -112,7 +112,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.10.29"
echo " Version: 2024.10.31"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down

0 comments on commit 8fe6ea2

Please sign in to comment.