Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
denismaier committed May 31, 2024
1 parent 6b32d71 commit e08e8f7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ jobs:
- name: Setup git
run: git config --global user.email "[email protected]" && git config --global user.name "GitHub CI"

- name: Install dependencies
run: sudo apt update && sudo apt install jq
- name: Test
run: echo "Are we here?"

# - name: Install dependencies
# run: sudo apt update && sudo apt install jq

- name: Echo tag version
run: echo $(git describe --tags || echo ci-test)
# - name: Echo tag version
# run: echo $(git describe --tags || echo ci-test)

- name: Run build
run: ./build.sh $(git describe --tags || echo ci-test)
# - name: Run build
# run: ./build.sh $(git describe --tags || echo ci-test)

- name: Prepare Update Manifests
run: ./publish.sh $(git describe --tags || echo ci-test )
# - name: Prepare Update Manifests
# run: ./publish.sh $(git describe --tags || echo ci-test )

- uses: actions/upload-artifact@v4
with:
name: Zotero Swisscovery UB Bern plugin (zipped)
path: "build/*.xpi"
# - uses: actions/upload-artifact@v4
# with:
# name: Zotero Swisscovery UB Bern plugin (zipped)
# path: "build/*.xpi"
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ perl -pi -e "s/em:version=\"[^\"]*/em:version=\"$version/;" src/install.rdf
git add src/install.rdf #src/manifest.json
git commit -m "Version ${version}" 1>&2
git tag -a -m "Version ${version}" "${version}"
git push --follow-tags
git push --tags origin

0 comments on commit e08e8f7

Please sign in to comment.