Skip to content

Commit

Permalink
Commit for creating tag v0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgiraud committed Feb 10, 2023
1 parent 40d32c7 commit 740381f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 24 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
run: |
sudo make install-asciidoctor
make archive VERSION="${{ github.ref }}"
- name: "upload release"
if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1.12.0
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
artifacts: "quote-and-join.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{ github.event.repository.name }}.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ commit-release: clean update-doc
VERSION=$${VERSION#*v}
git add .
git commit -m "Commit for creating tag v$$VERSION"
git tag "v$$VERSION"
git commit -m "Commit tag v$$VERSION"
git push
git tag "v$$VERSION" -m "Tag v$$VERSION"
git push --tags


.PHONY: test
Expand Down
14 changes: 6 additions & 8 deletions bin/qaj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
usage() {
(cat <<-EOF
#BEGIN_DO_NOT_MODIFY:make update-doc
QAJ(1) User commands QAJ(1)
QAJ(1) User commands QAJ(1)
NAME
qaj - quote and join words or lines in files
Expand Down Expand Up @@ -61,8 +61,7 @@ OPTIONS
Prefix and suffix each items with the given string.
-p string
The given string must be <, {, ( or [. Prefix each items with the given string. Suffix each items with the associated closing parenthese of the
given parenthese.
The given string must be <, {, ( or [. Prefix each items with the given string. Suffix each items with the associated closing parenthese of the given parenthese.
-t
Do not trim item.
Expand Down Expand Up @@ -90,8 +89,7 @@ OPTIONS
Prefix and suffix the result with the given string.
-P string
The given parenthese must be <, {, ( or [. Prefix the result with the given parenthese and suffix the result with the associated closing
parenthese.
The given parenthese must be <, {, ( or [. Prefix the result with the given parenthese and suffix the result with the associated closing parenthese.
EXAMPLES
Quote words with ' and join with ,
Expand Down Expand Up @@ -141,10 +139,10 @@ AUTHOR
Written by Jean-François Giraud.
COPYRIGHT
Copyright © 2020 Jean-François Giraud. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are
free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Copyright © 2020 Jean-François Giraud. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
quote-and-join 0.0.17 2023-02-09 QAJ(1)
quote-and-join 0.0.18 2023-02-09 QAJ(1)
#END_DO_NOT_MODIFY:make update-doc
EOF
) | tail -n +4 | head -n -9
Expand Down
8 changes: 4 additions & 4 deletions bin/uqaj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
usage() {
(cat <<-EOF
#BEGIN_DO_NOT_MODIFY:make update-doc
UQAJ(1) User commands UQAJ(1)
UQAJ(1) User commands UQAJ(1)
NAME
uqaj - split and unquote lines in files
Expand Down Expand Up @@ -78,10 +78,10 @@ AUTHOR
Written by Jean-François Giraud.
COPYRIGHT
Copyright © 2020 Jean-François Giraud. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are
free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Copyright © 2020 Jean-François Giraud. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
quote-and-join 0.0.17 2023-02-09 UQAJ(1)
quote-and-join 0.0.18 2023-02-09 UQAJ(1)
#END_DO_NOT_MODIFY:make update-doc
EOF
) | tail -n +4 | head -n -9
Expand Down
4 changes: 2 additions & 2 deletions doc/man/man1/qaj.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 1.5.5
.\" Date: 2023-02-09
.\" Manual: User commands
.\" Source: quote-and-join 0.0.17
.\" Source: quote-and-join 0.0.18
.\" Language: English
.\"
.TH "QAJ" "1" "2023-02-09" "quote\-and\-join 0.0.17" "User commands"
.TH "QAJ" "1" "2023-02-09" "quote\-and\-join 0.0.18" "User commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
Expand Down
4 changes: 2 additions & 2 deletions doc/man/man1/uqaj.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 1.5.5
.\" Date: 2023-02-09
.\" Manual: User commands
.\" Source: quote-and-join 0.0.17
.\" Source: quote-and-join 0.0.18
.\" Language: English
.\"
.TH "UQAJ" "1" "2023-02-09" "quote\-and\-join 0.0.17" "User commands"
.TH "UQAJ" "1" "2023-02-09" "quote\-and\-join 0.0.18" "User commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
Expand Down

0 comments on commit 740381f

Please sign in to comment.