"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".github/workflows/Linux-pack.yml" between
flameshot-0.8.4.tar.gz and flameshot-0.8.5.tar.gz

About: Flameshot is a screenshot software (with markup tools).

Linux-pack.yml  (flameshot-0.8.4):Linux-pack.yml  (flameshot-0.8.5)
skipping to change at line 79 skipping to change at line 79
echo "================================" echo "================================"
echo ::set-env name=VERSION::$(echo ${last_committed_tag:1}) echo ::set-env name=VERSION::$(echo ${last_committed_tag:1})
- name: Get packpack tool - name: Get packpack tool
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
# flameshot-org/packpack or packpack/packpack # flameshot-org/packpack or packpack/packpack
repository: flameshot-org/packpack repository: flameshot-org/packpack
path: tools path: tools
- name: Packaging on ${{ matrix.dist.name }} - name: Packaging on ${{ matrix.dist.name }}
run: | run: |
cp -r $GITHUB_WORKSPACE/data/debian $GITHUB_WORKSPACE cp -r $GITHUB_WORKSPACE/packaging/debian $GITHUB_WORKSPACE
bash $GITHUB_WORKSPACE/tools/packpack bash $GITHUB_WORKSPACE/tools/packpack
mv $GITHUB_WORKSPACE/build/${PRODUCT}_${VERSION}-${RELEASE}_amd64.deb $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }} .amd64.deb mv $GITHUB_WORKSPACE/build/${PRODUCT}_${VERSION}-${RELEASE}_amd64.deb $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }} .amd64.deb
env: env:
OS: ${{ matrix.dist.os }} OS: ${{ matrix.dist.os }}
DIST: ${{ matrix.dist.symbol }} DIST: ${{ matrix.dist.symbol }}
- name: SHA256Sum of ${{ matrix.dist.name }} package(daily build) - name: SHA256Sum of ${{ matrix.dist.name }} package(daily build)
run: | run: |
sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.amd64.deb sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.amd64.deb
sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.amd64.deb > $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-$ {RELEASE}.${{ matrix.dist.name }}.amd64.deb.sha256sum sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.amd64.deb > $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-$ {RELEASE}.${{ matrix.dist.name }}.amd64.deb.sha256sum
echo "=============${{ matrix.dist.name }} sha256sum download link==== ========" echo "=============${{ matrix.dist.name }} sha256sum download link==== ========"
skipping to change at line 168 skipping to change at line 168
cp -r share /usr/ cp -r share /usr/
cp -r doc /usr/share/ cp -r doc /usr/share/
cp -r man /usr/share/ cp -r man /usr/share/
cd .. cd ..
rm -rf cmake-3.18.3-Linux-${ARCH} cmake-3.18.3-Linux-${ARCH}.tar.gz rm -rf cmake-3.18.3-Linux-${ARCH} cmake-3.18.3-Linux-${ARCH}.tar.gz
echo "======CMAKE VERSION======" echo "======CMAKE VERSION======"
cmake --version cmake --version
echo "=========================" echo "========================="
- name: Packaging on ubuntu-18.04 - name: Packaging on ubuntu-18.04
run: | run: |
cp -r $GITHUB_WORKSPACE/data/debian $GITHUB_WORKSPACE cp -r $GITHUB_WORKSPACE/packaging/debian $GITHUB_WORKSPACE
mkdir -p $GITHUB_WORKSPACE/build mkdir -p $GITHUB_WORKSPACE/build
sed -e "/cmake (>= 3.13~),/d" -i $GITHUB_WORKSPACE/debian/control sed -e "/cmake (>= 3.13~),/d" -i $GITHUB_WORKSPACE/debian/control
dpkg-buildpackage -b dpkg-buildpackage -b
cp $GITHUB_WORKSPACE/../${PRODUCT}_${VERSION}-${RELEASE}_amd64.deb $GI THUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubuntu-18.04.amd64.deb cp $GITHUB_WORKSPACE/../${PRODUCT}_${VERSION}-${RELEASE}_amd64.deb $GI THUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubuntu-18.04.amd64.deb
- name: SHA256Sum of ubuntu-18.04 package(daily build) - name: SHA256Sum of ubuntu-18.04 package(daily build)
run: | run: |
sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubu ntu-18.04.amd64.deb sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubu ntu-18.04.amd64.deb
sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubu ntu-18.04.amd64.deb > $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.u buntu-18.04.amd64.deb.sha256sum sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubu ntu-18.04.amd64.deb > $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.u buntu-18.04.amd64.deb.sha256sum
echo "============ubuntu-18.04 sha256sum download link==============" echo "============ubuntu-18.04 sha256sum download link=============="
echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}. sh $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubuntu-18.04.amd64.d eb.sha256sum) echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}. sh $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.ubuntu-18.04.amd64.d eb.sha256sum)
skipping to change at line 246 skipping to change at line 246
echo "================================" echo "================================"
echo ::set-env name=VERSION::$(echo ${last_committed_tag:1}) echo ::set-env name=VERSION::$(echo ${last_committed_tag:1})
- name: Get packpack tool - name: Get packpack tool
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
# flameshot-org/packpack or packpack/packpack # flameshot-org/packpack or packpack/packpack
repository: flameshot-org/packpack repository: flameshot-org/packpack
path: tools path: tools
- name: Packaging on ${{ matrix.dist.name }} - name: Packaging on ${{ matrix.dist.name }}
run: | run: |
cp -r $GITHUB_WORKSPACE/data/rpm $GITHUB_WORKSPACE cp -r $GITHUB_WORKSPACE/packaging/rpm $GITHUB_WORKSPACE
bash $GITHUB_WORKSPACE/tools/packpack bash $GITHUB_WORKSPACE/tools/packpack
env: env:
OS: ${{ matrix.dist.os }} OS: ${{ matrix.dist.os }}
DIST: ${{ matrix.dist.symbol }} DIST: ${{ matrix.dist.symbol }}
- name: Package Clean - name: Package Clean
if: matrix.dist.os == 'fedora' if: matrix.dist.os == 'fedora'
run: | run: |
rm -f ${{ github.workspace }}/build/${{ env.PRODUCT }}-debuginfo-*.rpm rm -f ${{ github.workspace }}/build/${{ env.PRODUCT }}-debuginfo-*.rpm
rm -f ${{ github.workspace }}/build/${{ env.PRODUCT }}-debugsource-*.r pm rm -f ${{ github.workspace }}/build/${{ env.PRODUCT }}-debugsource-*.r pm
rm -f ${{ github.workspace }}/build/${{ env.PRODUCT }}-*.src.rpm rm -f ${{ github.workspace }}/build/${{ env.PRODUCT }}-*.src.rpm
skipping to change at line 442 skipping to change at line 442
run: | run: |
sudo apt-get -y -qq update sudo apt-get -y -qq update
sudo apt-get install -y flatpak flatpak-builder sudo apt-get install -y flatpak flatpak-builder
- name: Setup Flathub - name: Setup Flathub
run: | run: |
flatpak remote-add --user --if-not-exists flathub https://flathub.org/ repo/flathub.flatpakrepo flatpak remote-add --user --if-not-exists flathub https://flathub.org/ repo/flathub.flatpakrepo
flatpak install -y --noninteractive flathub org.kde.Sdk//5.15 org.kde. Platform//5.15 flatpak install -y --noninteractive flathub org.kde.Sdk//5.15 org.kde. Platform//5.15
- name: Packaging flatpak - name: Packaging flatpak
run: | run: |
BUNDLE="org.flameshot.Flameshot_${VERSION}_${ARCH}.flatpak" BUNDLE="org.flameshot.Flameshot_${VERSION}_${ARCH}.flatpak"
MANIFEST_PATH=$GITHUB_WORKSPACE/data/flatpak/org.flameshot.Flameshot.y ml MANIFEST_PATH=$GITHUB_WORKSPACE/packaging/flatpak/org.flameshot.Flames hot.yml
RUNTIME_REPO="https://flathub.org/repo/flathub.flatpakrepo" RUNTIME_REPO="https://flathub.org/repo/flathub.flatpakrepo"
APP_ID="org.flameshot.Flameshot" APP_ID="org.flameshot.Flameshot"
BRANCH="master" BRANCH="master"
flatpak-builder --user --disable-rofiles-fuse --repo=repo --force-clea n flatpak_app ${MANIFEST_PATH} --install-deps-from=flathub flatpak-builder --user --disable-rofiles-fuse --repo=repo --force-clea n flatpak_app ${MANIFEST_PATH} --install-deps-from=flathub
flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${A PP_ID} ${BRANCH} flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${A PP_ID} ${BRANCH}
mv $GITHUB_WORKSPACE/org.flameshot.Flameshot_${VERSION}_${ARCH}.flatpa k $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak mv $GITHUB_WORKSPACE/org.flameshot.Flameshot_${VERSION}_${ARCH}.flatpa k $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak
- name: SHA256Sum of flatpak package(daily build) - name: SHA256Sum of flatpak package(daily build)
run: | run: |
sha256sum $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH} .flatpak sha256sum $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH} .flatpak
sha256sum $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH} .flatpak > $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak. sha256sum sha256sum $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH} .flatpak > $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak. sha256sum
echo "================flatpak sha256sum download link================= ===" echo "================flatpak sha256sum download link================= ==="
echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}. sh $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak.sha256su m) echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}. sh $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak.sha256su m)
echo "========no operation for you can see link in the log console==== ===" echo "========no operation for you can see link in the log console==== ==="
- name: Upload flatpak package(daily build) - name: Upload flatpak package(daily build)
run: | run: |
echo "=====================flatpak download link=====================" echo "=====================flatpak download link====================="
echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}. sh $GITHUB_WORKSPACE/org.flameshot.flameshot-${VERSION}.${ARCH}.flatpak) echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}. sh $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.${ARCH}.flatpak)
echo "======no operation for you can see link in the log console=====" echo "======no operation for you can see link in the log console====="
- name: Artifact Upload - name: Artifact Upload
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Linux-distribution-artifact name: Linux-distribution-artifact
path: | path: |
${{ github.workspace }}/org.flameshot.Flameshot-*.${{ env.ARCH }}.fl atpak ${{ github.workspace }}/org.flameshot.Flameshot-*.${{ env.ARCH }}.fl atpak
${{ github.workspace }}/org.flameshot.Flameshot-*.${{ env.ARCH }}.fl atpak.sha256sum ${{ github.workspace }}/org.flameshot.Flameshot-*.${{ env.ARCH }}.fl atpak.sha256sum
snap-pack: snap-pack:
skipping to change at line 497 skipping to change at line 497
shell: bash shell: bash
run: | run: |
last_committed_tag=$(git tag -l --sort=-v:refname | head -1) last_committed_tag=$(git tag -l --sort=-v:refname | head -1)
git_revno=$(git rev-list $(git describe --tags --abbrev=0)..HEAD --cou nt) git_revno=$(git rev-list $(git describe --tags --abbrev=0)..HEAD --cou nt)
git_hash=$(git rev-parse --short HEAD) git_hash=$(git rev-parse --short HEAD)
echo "=======FLAMESHOT VERSION========" echo "=======FLAMESHOT VERSION========"
echo ${last_committed_tag:1} echo ${last_committed_tag:1}
echo "Details: ${last_committed_tag}+git${git_revno}.${git_hash}" echo "Details: ${last_committed_tag}+git${git_revno}.${git_hash}"
echo "================================" echo "================================"
echo ::set-env name=VERSION::$(echo ${last_committed_tag:1}) echo ::set-env name=VERSION::$(echo ${last_committed_tag:1})
- name: Packaging snap - name: Packaging snap
uses: snapcore/action-build@v1 uses: snapcore/action-build@v1
id: snapcraft id: snapcraft
with:
path: data
- name: Rename snap name - name: Rename snap name
shell: bash shell: bash
run: | run: |
mkdir -p $GITHUB_WORKSPACE/build mkdir -p $GITHUB_WORKSPACE/build
cp ${{ steps.snapcraft.outputs.snap }} $GITHUB_WORKSPACE/build/${PRODU CT}-${VERSION}-${RELEASE}.amd64.snap cp ${{ steps.snapcraft.outputs.snap }} $GITHUB_WORKSPACE/build/${PRODU CT}-${VERSION}-${RELEASE}.amd64.snap
- name: SHA256Sum of snap package(daily build) - name: SHA256Sum of snap package(daily build)
run: | run: |
sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd 64.snap sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd 64.snap
sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd 64.snap > $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap.sh a256sum sha256sum $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd 64.snap > $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap.sh a256sum
echo "================snap sha256sum download link==================" echo "================snap sha256sum download link=================="
 End of changes. 7 change blocks. 
7 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)