Skip to content

Commit

Permalink
Merge pull request #9 from jubako/r/0.1.0
Browse files Browse the repository at this point in the history
Version 0.1.0
  • Loading branch information
mgautierfr authored Jan 14, 2025
2 parents e6e0572 + f7a84bd commit 93dbf3b
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/check_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,21 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Download libzim
run: |
VERSION="9.2.1"
ARCHIVE_NAME="libzim_linux-x86_64-${VERSION}"
# Publish must work on a clean directory. Let's dl libzim in target directory as it is git ignored
mkdir target && cd target
wget "https://download.openzim.org/release/libzim/${ARCHIVE_NAME}.tar.gz"
tar xf ${ARCHIVE_NAME}.tar.gz
ARCHIVE_PATH=$(pwd)/${ARCHIVE_NAME}
LIBZIM_LIB=${ARCHIVE_PATH}/lib/x86_64-linux-gnu
echo "LIBZIM_LIB=$LIBZIM_LIB" >> $GITHUB_ENV
echo "LIBZIM_INCLUDE=${ARCHIVE_PATH}/include" >> $GITHUB_ENV
- name: Test Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish --dry-run -p zim2waj
cargo publish --dry-run
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
run: |
VERSION="9.2.1"
ARCHIVE_NAME="libzim_linux-x86_64-${VERSION}"
# Publish must work on a clean directory. Let's dl libzim in target directory as it is git ignored
mkdir target && cd target
wget "https://download.openzim.org/release/libzim/${ARCHIVE_NAME}.tar.gz"
tar xf ${ARCHIVE_NAME}.tar.gz
ARCHIVE_PATH=$(pwd)/${ARCHIVE_NAME}
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Zim2Waj 0.1.0

This is the initial release.

`zim2waj` is functionnal and can split image/video into a separated pack.
21 changes: 21 additions & 0 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2022 Matthieu Gautier

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USEOR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit 93dbf3b

Please sign in to comment.