Skip to content

Commit

Permalink
prepare for 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guijan committed Apr 8, 2022
1 parent 63e6cf6 commit fb56c00
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
msystem: ${{matrix.sys}}
path-type: strict
install: git groff
install: git groff dos2unix
pacboy: gcc:p meson:p nsis:p ninja:p jq:p
- uses: actions/[email protected]
- name: prepare
Expand All @@ -57,13 +57,14 @@ jobs:
name: dist
path: build/setup*dictpw*
vs-build:
needs: mingw-build
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- name: setup
run: |
pip install meson
choco install groff
choco install groff dos2unix
- uses: actions/[email protected]
- name: prepare
run: |
Expand All @@ -85,7 +86,7 @@ jobs:
- name: installer
run: |
$ver = "${{needs.mingw-build.outputs.version}}"
$out = "build\setup-dictpw-${ver}-vs-clang-aarch64.exe"
$out = "build\setup-dictpw-" + "$ver" + "-vs-clang-aarch64.exe"
$cmd = "makensis -DOUTFILE='" + "$out" + "' dictpw.nsi"
$env:CHERE_INVOKING = 'yes' # Preserve the current working directory
$env:MSYSTEM = 'MINGW64' # Start a 64 bit Mingw environment
Expand All @@ -112,7 +113,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
(cd dist && for file in *.exe; do sha256sum *.exe > \
(cd dist && for file in *.exe; do sha256sum "$file" > \
"${file}.sha256sum"; done)
ver="${{needs.mingw-build.outputs.version}}"
gh release create "v$ver" --title "dictpw $ver" \
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md → docs/CHANGELOG-1.2.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Changes in dictpw master:
Changes in dictpw 1.2.0:

- Make changelogs readable when concatenated
- Overhaul capability limitations to be more portable and strict
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

project('dictpw', 'c', version: '1.1.1',
project('dictpw', 'c', version: '1.2.0', license: 'ISC',
default_options: ['c_std=c99', 'b_lto=true', 'warning_level=3'])

# Makes all functions, including BSD functions, visible on GNU.
Expand Down
10 changes: 6 additions & 4 deletions subprojects/libobsd.wrap
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[wrap-git]
url = https://github.com/guijan/libobsd.git
revision = respect-license
depth = 1
[wrap-file]
directory = libobsd-1.1.0
source_url = https://github.com/guijan/libobsd/releases/download/v1.1.0/libobsd-1.1.0.tar.xz
source_filename = libobsd-1.1.0.tar.xz
source_hash = 64343ccdd3b7c479954d9806a4531091195d410cc54d0172018d959a61693c2c

[provide]
libbsd-overlay = libobsd_dep
libobsd = libobsd_dep

0 comments on commit fb56c00

Please sign in to comment.