Commit 90d16cba8f75242124efd91d8fec262259ec3a0a
1 parent
88c47013
Exists in
develop
Publishing mingw package instead of tar.xz
Showing
3 changed files
with
10 additions
and
12 deletions
Show diff stats
.github/workflows/publish.yml
... | ... | @@ -3,6 +3,9 @@ on: |
3 | 3 | pull_request: |
4 | 4 | branches: |
5 | 5 | - master |
6 | + push: | |
7 | + branches: | |
8 | + - develop | |
6 | 9 | jobs: |
7 | 10 | msys2-mingw: |
8 | 11 | name: Publish for Windows 64 |
... | ... | @@ -21,13 +24,13 @@ jobs: |
21 | 24 | with: |
22 | 25 | msystem: mingw64 |
23 | 26 | update: true |
24 | - install: xz mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl libtool | |
27 | + install: dos2unix mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl libtool | |
25 | 28 | - name: CI-Build |
26 | 29 | run: ./win/ci-build.sh |
27 | 30 | - uses: ncipollo/release-action@v1 |
28 | 31 | with: |
29 | 32 | tag: ${{ steps.gettag.outputs.tag }} |
30 | - artifacts: "*-lib3270.tar.xz" | |
33 | + artifacts: "*-lib3270-*.pkg.tar.zst" | |
31 | 34 | allowUpdates: true |
32 | 35 | draft: false |
33 | 36 | makeLatest: true | ... | ... |
PKGBUILD.mingw
... | ... | @@ -18,18 +18,13 @@ |
18 | 18 | # You should have received a copy of the GNU Lesser General Public License |
19 | 19 | # along with this program. If not, see <https://www.gnu.org/licenses/>. |
20 | 20 | |
21 | -_realname=lib3270 | |
21 | +_realname=$(grep AC_INIT "${startdir}/configure.ac" | cut -d[ -f2 | cut -d] -f1) | |
22 | 22 | |
23 | 23 | pkgname=${MINGW_PACKAGE_PREFIX}-${_realname} |
24 | -source=(git+https://github.com/PerryWerneck/lib3270#branch=develop) | |
24 | +source=() | |
25 | 25 | |
26 | -#pkgver() { | |
27 | -# cd ${srcdir}/${_realname} | |
28 | -# git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
29 | -#} | |
30 | - | |
31 | -pkgver=5.4 | |
32 | -pkgrel=1 | |
26 | +pkgver=$(grep AC_INIT "${startdir}/configure.ac" | cut -d[ -f3 | cut -d] -f1) | |
27 | +pkgrel=0 | |
33 | 28 | pkgdesc="TN3270 Access library" |
34 | 29 | url="https://github.com/PerryWerneck/${_realname}" |
35 | 30 | arch=(i686 x86_64) | ... | ... |
locale/pt_BR.po
... | ... | @@ -2071,7 +2071,7 @@ msgstr "Aguardando resposta do pedido de upload" |
2071 | 2071 | msgid "Warning" |
2072 | 2072 | msgstr "Alerta" |
2073 | 2073 | |
2074 | -#: src/core/windows/util.c:123 src/core/windows/util.c:166 | |
2074 | +#: src/core/windows/util.c:124 src/core/windows/util.c:167 | |
2075 | 2075 | #, c-format |
2076 | 2076 | msgid "Windows error %d" |
2077 | 2077 | msgstr "Erro windows foi %d" | ... | ... |