Skip to content

Commit

Permalink
Update Dependencies (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr authored Jun 18, 2024
1 parent c73f675 commit fb73508
Show file tree
Hide file tree
Showing 5 changed files with 1,570 additions and 891 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,15 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v4

- name: "Release Version Check"
if: ${{ github.event_name == 'release' }}
run: |
export version="$(jq '.version' < manifest.json | tr -d '"')"
if [ "${{ github.ref_name }}" != "${version}" ];then
echo "Manifest Version ${version} does not match release tag ${{ github.ref_name }}"
exit 1
fi
- name: "Setup Node"
uses: actions/setup-node@v4
with:
node-version: 20

- name: "Update Manifest Version"
uses: cssnr/update-json-value-action@v1
if: ${{ github.event_name == 'release' }}

- name: "Build All"
run: |
npm install
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/abpbiefojfkekhkjnpakpekkpeibnjej?label=chrome&logo=googlechrome)](https://chromewebstore.google.com/detail/django-files/abpbiefojfkekhkjnpakpekkpeibnjej)
[![Mozilla Add-on Version](https://img.shields.io/amo/v/django-files?label=firefox&logo=firefox)](https://addons.mozilla.org/addon/django-files)
[![GitHub Release Version](https://img.shields.io/github/v/release/django-files/web-extension?logo=github)](https://github.com/django-files/web-extension/releases/latest)
[![Manifest Version](https://img.shields.io/github/manifest-json/v/django-files/web-extension?filename=manifest.json&logo=json&label=manifest)](https://github.com/django-files/web-extension/blob/master/manifest.json)
[![Build](https://github.com/django-files/web-extension/actions/workflows/build.yaml/badge.svg)](https://github.com/django-files/web-extension/actions/workflows/build.yaml)
[![Test](https://github.com/django-files/web-extension/actions/workflows/test.yaml/badge.svg)](https://github.com/django-files/web-extension/actions/workflows/test.yaml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/7842944ada6b4c7ebb4f9dc83ed6a654)](https://app.codacy.com/gh/django-files/web-extension/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
"version": "0.5.0",
"version": "0.0.1",
"name": "Django Files",
"description": "Django Files Web Extension designed to work with github.com/django-files/django-files.",
"homepage_url": "https://github.com/django-files/web-extension",
Expand Down
Loading

0 comments on commit fb73508

Please sign in to comment.