xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit f4e012e48d4206f574fce4848faed708186b5d68

Adding scripts that automate tarball release.
Author: Martin Dvorak
Author date (UTC): 2014-05-14 16:30
Committer name: Martin Dvorak
Committer date (UTC): 2014-05-14 16:30
Parent(s): 2b205e1be909718dc26fd48f99aaa16d179101d5
Signing key:
Tree: c2596444780ba9f773a1bc7478c74b72c331f8f0
File Lines added Lines deleted
dist/github-env.sh 10 0
dist/github-release.sh 20 0
File dist/github-env.sh added (mode: 100755) (index 0000000..59091ed)
1 #!/bin/bash
2
3 export NOW=`date +%Y-%m-%d--%H-%M-%S`
4 export GH_RELEASE_DIR=~/p/hstr/release
5 export GH_DISTRO_DIR=${GH_RELEASE_DIR}/release-${NOW}
6
7 export HHVERSION="1.0.8"
8 export GH_MSG="GitHub release automation."
9
10 # eof
File dist/github-release.sh added (mode: 100755) (index 0000000..62dc4c0)
1 #!/bin/bash
2
3 . ./github-env.sh
4 export SCRIPT_HOME=`pwd`
5
6 function make_github_release() {
7 cp -vrf ${SCRIPT_HOME}/../../hstr .
8 cd hstr && rm -vrf debian doc tests && cd dist && ./1-dist.sh
9 cd ../..
10 tar zcfv hh-${HHVERSION}-src.tgz hstr
11 cd hstr && ./configure && make && cp src/hh ..
12 cd ..
13 tar zcfv hh-${HHVERSION}-bin-64b.tgz hh
14 }
15
16
17 mkdir -v ${GH_DISTRO_DIR}
18 cd ${GH_DISTRO_DIR} && make_github_release
19
20 # eof
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master