Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
8264ce7c
Commit
8264ce7c
authored
8 months ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play common.sh: check applications' version by major epm version
parent
bdbed2f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
common.sh
play.d/common.sh
+1
-0
No files found.
play.d/common.sh
View file @
8264ce7c
...
...
@@ -154,6 +154,7 @@ get_latest_version()
local
ver
local
epmver
=
"
$(
epm
--short
--version
)
"
local
URL
epmver
=
$(
echo
"
$epmver
"
|
sed
-e
's|\.[0-9]*$||'
)
for
URL
in
"https://eepm.ru/releases/
$epmver
/app-versions"
"https://eepm.ru/app-versions"
;
do
ver
=
"
$(
eget
-q
-O-
"
$URL
/
$1
"
)
"
||
continue
ver
=
"
$(
echo
"
$ver
"
|
head
-n1
|
cut
-d
" "
-f1
)
"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment