Skip to content

Commit 8572ff5

Browse files
committed
Preparing 1.0.3
1 parent aa1e103 commit 8572ff5

File tree

6 files changed

+47
-9
lines changed

6 files changed

+47
-9
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22

3-
## Unreleased
3+
## 1.0.3 - 16.01.2021
44
- Remove using ids in xpaths, cause they are not abstract enough
5+
- Bugfixes
56

67
## 1.0.2 - 09.01.2021
78
- Merging rules and picking the right link

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rss-proxy/root",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "RSS-proxy is a tool that allows you to do create an RSS/ATOM or JSON feed of almost any website, purely by analyzing just the static HTML structure.",
55
"author": "damoeb",
66
"license": "CC-NC",

packages/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rss-proxy/playground",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"scripts": {
55
"ng": "ng",
66
"build:core": "cd ../core && npm run build",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
export const build = {
3-
version: '1.0.2',
4-
revision: '3137c7b',
5-
date: '1610738776711'
3+
version: '1.0.3',
4+
revision: '0b5334a',
5+
date: '1610756602237'
66
};

packages/proxy/build-docker-image.sh

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,50 @@ build_playground () {
3131
cp -r ../playground/dist/@rss-proxy/playground/* dist/@rss-proxy/proxy/static
3232
}
3333

34+
verify_image () {
35+
printf "Fine? (Y/n): "
36+
read yn
37+
38+
if [ "${yn}" == "n" ] && [ "${yn}" != "" ]; then
39+
echo 'Aborting...'
40+
exit 1
41+
fi
42+
}
43+
3444
docker_image () {
35-
echo "\n docker"
45+
echo "docker..."
46+
47+
printf "Enter new version: "
48+
read tag
49+
50+
if [ "${tag}" == "" ]; then
51+
echo 'Please enter a valid version'
52+
exit 1
53+
fi
54+
55+
echo -e "Using version '${tag}'"
3656
pwd
3757
cp docker/prod/* package.json package-lock.json dist/@rss-proxy/
38-
# todo tag with version
3958
cd dist/@rss-proxy && docker build -t damoeb/rss-proxy -f Dockerfile . && cd -
4059
cd docker/prod/puppeteer && docker build -t damoeb/rss-proxy:js -f Dockerfile .
60+
echo 'docker images done'
61+
echo ''
62+
echo 'Verify LIGHT version (CTRL-C to exit)'
63+
docker run -p 4200:3000 -it damoeb/rss-proxy
64+
verify_image
65+
66+
echo 'Verify JS version (CTRL-C to exit)'
67+
docker run -p 4200:3000 -it damoeb/rss-proxy:js
68+
verify_image
69+
70+
echo "tagging images with ${tag}"
71+
docker tag damoeb/rss-proxy damoeb/rss-proxy:${tag}
72+
docker tag damoeb/rss-proxy damoeb/rss-proxy:js-${tag}
73+
echo "pushing images"
74+
docker push damoeb/rss-proxy:latest
75+
docker push damoeb/rss-proxy:${tag}
76+
docker push damoeb/rss-proxy:js
77+
docker push damoeb/rss-proxy:js-${tag}
4178
}
4279

4380

packages/proxy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rss-proxy/proxy",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"private": true,
55
"dependencies": {
66
"@rss-proxy/core": "file:../core",

0 commit comments

Comments
 (0)