diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec9ec49b..814f74db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,14 +33,14 @@ jobs: - name: Use the value run: | echo "${{ env.n3dr-deliverable }}" - - name: Check whether all versions have been updated - run: | - version=$(echo "${{ github.ref }}" | sed -e "s|.*\/\(.*\)$|\1|") - echo "Version: ${version}" - echo "Checking build/package/snap/snapcraft.yaml..." - grep ${version} build/package/snap/snapcraft.yaml - # yamllint disable rule:line-length - if: ${{ startsWith(matrix.os, 'mac') || startsWith(matrix.os, 'ubuntu') }} + # - name: Check whether all versions have been updated + # run: | + # version=$(echo "${{ github.ref }}" | sed -e "s|.*\/\(.*\)$|\1|") + # echo "Version: ${version}" + # echo "Checking build/package/snap/snapcraft.yaml..." + # grep ${version} build/package/snap/snapcraft.yaml + # # yamllint disable rule:line-length + # if: ${{ startsWith(matrix.os, 'mac') || startsWith(matrix.os, 'ubuntu') }} - name: Create release run: ./scripts/build.sh env: diff --git a/.github/workflows/snapcraft.yml b/.github/workflows/snapcraft.yml index 20d6b318..00dd3740 100644 --- a/.github/workflows/snapcraft.yml +++ b/.github/workflows/snapcraft.yml @@ -19,11 +19,13 @@ jobs: path: build/package id: snapcraft - run: | + sudo apt-get update + sudo apt-get upgrade -y sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }} n3dr --version | grep "[0-9]\." - - uses: snapcore/action-publish@v1.2.0 - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }} - with: - snap: ${{ steps.snapcraft.outputs.snap }} - release: candidate + # - uses: snapcore/action-publish@v1.2.0 + # env: + # SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }} + # with: + # snap: ${{ steps.snapcraft.outputs.snap }} + # release: candidate diff --git a/build/package/snap/snapcraft.yaml b/build/package/snap/snapcraft.yaml index 79790c06..3b837c37 100644 --- a/build/package/snap/snapcraft.yaml +++ b/build/package/snap/snapcraft.yaml @@ -1,7 +1,7 @@ --- name: n3dr base: core20 -version: 7.4.0 +version: 7.4.0-rc.2 summary: Nexus3 Disaster Recovery description: | Download all artifacts at once or migrate automatically from Nexus to Nexus.