Update package version to 1.8.11
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Git repository
|
||||||
|
REPO="https://git.netfilter.org/iptables"
|
||||||
|
|
||||||
|
# Get tag name using 'git ls-remote'
|
||||||
|
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3)
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
name: iptables
|
name: iptables
|
||||||
description: userspace CLI program used to configure the Linux packet filtering ruleset
|
description: userspace CLI program used to configure the Linux packet filtering ruleset
|
||||||
version: 1.8.10
|
version: 1.8.11
|
||||||
url: https://www.netfilter.org/projects/iptables/index.html
|
url: https://www.netfilter.org/projects/iptables/index.html
|
||||||
license: GPL2-only
|
license: GPL2-only
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
Reference in New Issue
Block a user