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 13, 2024
1 parent 28360f1 commit 47889d9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 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.11.13"
version="2024.11.13b"
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,7 +13,7 @@

<CHANGES>
<![CDATA[
###2024.11.13###
###2024.11.13b###
- Fix advanced toggle on Settings page
Expand Down Expand Up @@ -41,9 +41,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
<SHA256>08f2377b78f7b9e411caa28f231a9c4cd0887209c142b49b815bcc7042ff61f7</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.13-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.13/unraid-tailscale-utils-2.2.13-noarch-1.txz</URL>
<SHA256>dfb819d91679bf2fc58e6d049accb191c64b8a97bec063cd612cf3fd7a204548</SHA256>
<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.14/unraid-tailscale-utils-2.2.14-noarch-1.txz</URL>
<SHA256>d47a1d6bffe133843d185f1955f89d24e416aaca4415226bf3eb12166e987701</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.13-noarch-1.txz
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.76.6_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.11.13" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.11.13b" > /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.13')
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.76.6_amd64')
Expand All @@ -114,7 +114,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.11.13"
echo " Version: 2024.11.13b"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
18 changes: 9 additions & 9 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.11.13"
version="2024.11.13b"
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,7 +13,7 @@

<CHANGES>
<![CDATA[
###2024.11.13###
###2024.11.13b###
- Fix advanced toggle on Settings page
Expand Down Expand Up @@ -41,9 +41,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
<SHA256>08f2377b78f7b9e411caa28f231a9c4cd0887209c142b49b815bcc7042ff61f7</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.13-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.13/unraid-tailscale-utils-2.2.13-noarch-1.txz</URL>
<SHA256>dfb819d91679bf2fc58e6d049accb191c64b8a97bec063cd612cf3fd7a204548</SHA256>
<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.14/unraid-tailscale-utils-2.2.14-noarch-1.txz</URL>
<SHA256>d47a1d6bffe133843d185f1955f89d24e416aaca4415226bf3eb12166e987701</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.13-noarch-1.txz
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.76.6_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.11.13" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.11.13b" > /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.13')
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.76.6_amd64')
Expand All @@ -114,7 +114,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.11.13"
echo " Version: 2024.11.13b"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
18 changes: 9 additions & 9 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.11.13"
version="2024.11.13b"
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,7 +13,7 @@

<CHANGES>
<![CDATA[
###2024.11.13###
###2024.11.13b###
- Fix advanced toggle on Settings page
Expand Down Expand Up @@ -41,9 +41,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
<SHA256>08f2377b78f7b9e411caa28f231a9c4cd0887209c142b49b815bcc7042ff61f7</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.13-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.13/unraid-tailscale-utils-2.2.13-noarch-1.txz</URL>
<SHA256>dfb819d91679bf2fc58e6d049accb191c64b8a97bec063cd612cf3fd7a204548</SHA256>
<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
<URL>https://github.com/unraid/unraid-tailscale-utils/releases/download/2.2.14/unraid-tailscale-utils-2.2.14-noarch-1.txz</URL>
<SHA256>d47a1d6bffe133843d185f1955f89d24e416aaca4415226bf3eb12166e987701</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.13-noarch-1.txz
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.76.6_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.11.13" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2024.11.13b" > /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.13')
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.76.6_amd64')
Expand All @@ -112,7 +112,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2024.11.13"
echo " Version: 2024.11.13b"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down

0 comments on commit 47889d9

Please sign in to comment.