Skip to content

Commit

Permalink
v1.3
Browse files Browse the repository at this point in the history
1. Changed version to v1.3, a stable version.
2. Add header of license.
3. Changed some wrong-spelling words.
  • Loading branch information
bilintsui committed Jan 15, 2021
1 parent b60c581 commit 1b51a8d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
15 changes: 9 additions & 6 deletions ddnscd
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#! /usr/bin/perl
# Version: 1.3-beta2
# Interval Version: 13
### Dynamic DNS Client Daemon
### (C) 2020 Bilin Tsui, licensed with GNU General Public License version 3. (GNU GPL v3)
### Full text of GNU GPL v3: watch https://www.gnu.org/licenses/gpl-3.0.html.
# Version: 1.3
# Interval Version: 14
# Config Version: 4
## Defines
{
Expand All @@ -13,11 +16,11 @@
$pwd=$ENV{'PWD'};
$globalcache=();
@msgqueue=();
$version_interval=13;
$version_internal=14;
$version_config=4;
$version_major=1;
$version_minor=3;
$version_additional='(beta2)';
$version_additional='';
$version="$version_major.$version_minor$version_additional";
chomp($progname=basename($0));
$initmsg="Dynamic DNS Client Daemon v$version\n\nUsage:\n\t$progname <-o|s|f [-p pidfile]> [-c conf]\n\t$progname <-h|--help>\n\t$progname <-v|--version>\n\nSee more, watch: https://github.com/bilintsui/ddnscd\n(C) 2020 Bilin Tsui. Licensed with GNU GPL v3.";
Expand Down Expand Up @@ -54,7 +57,7 @@
}
elsif($rec_subargu eq 'v')
{
die("v$version $version_interval,$version_config\n");
die("v$version $version_internal,$version_config\n");
}
elsif($rec_subargu eq 'c')
{
Expand Down Expand Up @@ -112,7 +115,7 @@
}
elsif($rec_argu eq 'version')
{
die("v$version $version_interval,$version_config\n");
die("v$version $version_internal,$version_config\n");
}
elsif($rec_argu eq 'conf')
{
Expand Down
27 changes: 14 additions & 13 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"latest": 13,
"versions":[
{"name": "1.0", "interval": 1, "conf": 1, "type": "stable"},
{"name": "1.1", "interval": 2, "conf": 1, "type": "stable"},
{"name": "1.2-beta1", "interval": 3, "conf": 2, "type": "dev"},
{"name": "1.2-beta2", "interval": 4, "conf": 2, "type": "dev"},
{"name": "1.2-beta3", "interval": 5, "conf": 2, "type": "dev"},
{"name": "1.2-beta4", "interval": 6, "conf": 2, "type": "dev"},
{"name": "1.2-beta5", "interval": 7, "conf": 2, "type": "dev"},
{"name": "1.2-beta6", "interval": 8, "conf": 3, "type": "dev"},
{"name": "1.2-beta7", "interval": 9, "conf": 3, "type": "dev"},
{"name": "1.2-beta8", "interval": 10, "conf": 4, "type": "dev"},
{"name": "1.2", "interval": 11, "conf": 4, "type": "stable"},
{"name": "1.3-beta1", "interval": 12, "conf": 4, "type": "dev"},
{"name": "1.3-beta2", "interval": 13, "conf": 4, "type": "dev"}
{"name": "1.0", "internal": 1, "conf": 1, "type": "stable"},
{"name": "1.1", "internal": 2, "conf": 1, "type": "stable"},
{"name": "1.2-beta1", "internal": 3, "conf": 2, "type": "dev"},
{"name": "1.2-beta2", "internal": 4, "conf": 2, "type": "dev"},
{"name": "1.2-beta3", "internal": 5, "conf": 2, "type": "dev"},
{"name": "1.2-beta4", "internal": 6, "conf": 2, "type": "dev"},
{"name": "1.2-beta5", "internal": 7, "conf": 2, "type": "dev"},
{"name": "1.2-beta6", "internal": 8, "conf": 3, "type": "dev"},
{"name": "1.2-beta7", "internal": 9, "conf": 3, "type": "dev"},
{"name": "1.2-beta8", "internal": 10, "conf": 4, "type": "dev"},
{"name": "1.2", "internal": 11, "conf": 4, "type": "stable"},
{"name": "1.3-beta1", "internal": 12, "conf": 4, "type": "dev"},
{"name": "1.3-beta2", "internal": 13, "conf": 4, "type": "dev"},
{"name": "1.3", "internal": 14, "conf": 4, "type": "stable"}
]
}

0 comments on commit 1b51a8d

Please sign in to comment.