Skip to content

Commit 3e79107

Browse files
committed
Misc updates
1 parent aefc287 commit 3e79107

File tree

3 files changed

+4
-137
lines changed

3 files changed

+4
-137
lines changed

.readme

-129
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Cim
3+
Copyright (c) 2019 Demyx
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

travis.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ IFS=$'\n\t'
99
DEMYX_ALPINE_VERSION=$(docker exec -t demyx_wp cat /etc/os-release | grep VERSION_ID | cut -c 12- | sed -e 's/\r//g')
1010
DEMYX_CODE_VERSION=$(docker exec -t demyx_cs code-server --version | sed $'s,\x1b\\[[0-9;]*[a-zA-Z],,g'| head -n1 | sed "s|info ||g" | sed "s|-|--|g" | sed -e 's/\r//g')
1111

12-
# Replace the README.md
13-
[[ -f README.md ]] && rm README.md
14-
cp .readme README.md
15-
16-
# Replace latest with actual versions
17-
sed -i "s/alpine-latest-informational/alpine-${DEMYX_ALPINE_VERSION}-informational/g" README.md
18-
sed -i "s/code--server-latest-informational/code--server-${DEMYX_CODE_VERSION}-informational/g" README.md
12+
# Replace versions
13+
sed -i "s|alpine-.*.-informational|alpine-${DEMYX_ALPINE_VERSION}-informational|g" README.md
14+
sed -i "s|code--server-.*.-informational|code--server-${DEMYX_CODE_VERSION}-informational|g" README.md
1915

2016
# Push back to GitHub
2117
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)