Merge pull request #3894 from vector-im/t3chguy/change_release_vector2riot
change vector->riot on the surfacepull/3919/head
commit
5181eb3ea5
|
@ -63,7 +63,7 @@ fi
|
||||||
|
|
||||||
if [ ! -f package.json ]; then
|
if [ ! -f package.json ]; then
|
||||||
echo "No package.json found. This script must be run from"
|
echo "No package.json found. This script must be run from"
|
||||||
echo "the vector-web directory."
|
echo "the riot-web directory."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ my $gh = Net::GitHub->new(
|
||||||
login => 'ara4n', pass => read_password("github password: "),
|
login => 'ara4n', pass => read_password("github password: "),
|
||||||
);
|
);
|
||||||
|
|
||||||
$gh->set_default_user_repo('vector-im', 'vector-web');
|
$gh->set_default_user_repo('vector-im', 'riot-web');
|
||||||
|
|
||||||
#my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 });
|
#my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 });
|
||||||
my @issues = $gh->issue->repos_issues({ state => 'all' });
|
my @issues = $gh->issue->repos_issues({ state => 'all' });
|
||||||
|
|
|
@ -18,7 +18,7 @@ my $gh = Net::GitHub->new(
|
||||||
login => 'ara4n', pass => read_password("github password: "),
|
login => 'ara4n', pass => read_password("github password: "),
|
||||||
);
|
);
|
||||||
|
|
||||||
$gh->set_default_user_repo('vector-im', 'vector-web');
|
$gh->set_default_user_repo('vector-im', 'riot-web');
|
||||||
|
|
||||||
#my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 });
|
#my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 });
|
||||||
my @issues = $gh->issue->repos_issues({ state => 'all' });
|
my @issues = $gh->issue->repos_issues({ state => 'all' });
|
||||||
|
|
|
@ -34,7 +34,7 @@ npm run test
|
||||||
# run eslint
|
# run eslint
|
||||||
npm run lintall -- -f checkstyle -o eslint.xml || true
|
npm run lintall -- -f checkstyle -o eslint.xml || true
|
||||||
|
|
||||||
rm dist/vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
rm dist/riot-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
||||||
|
|
||||||
# node_modules deps from 'npm install' don't have a .git dir so can't
|
# node_modules deps from 'npm install' don't have a .git dir so can't
|
||||||
# rev-parse; but they do set the commit in package.json under 'gitHead' which
|
# rev-parse; but they do set the commit in package.json under 'gitHead' which
|
||||||
|
|
|
@ -25,13 +25,13 @@ cp -r webapp vector-$version
|
||||||
|
|
||||||
# if $version looks like semver with leading v, strip it before writing to file
|
# if $version looks like semver with leading v, strip it before writing to file
|
||||||
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then
|
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then
|
||||||
echo ${version:1} > vector-$version/version
|
echo ${version:1} > riot-$version/version
|
||||||
else
|
else
|
||||||
echo ${version} > vector-$version/version
|
echo ${version} > riot-$version/version
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar chvzf dist/vector-$version.tar.gz vector-$version
|
tar chvzf dist/riot-$version.tar.gz riot-$version
|
||||||
rm -r vector-$version
|
rm -r riot-$version
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Packaged dist/vector-$version.tar.gz"
|
echo "Packaged dist/riot-$version.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue