Skip to content

Commit

Permalink
Update version to 0.4.3 and set new outputs in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
imigueldiaz committed Mar 31, 2024
1 parent f6982cb commit e912989
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/firefox-addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
CHANGED_FILES=$(git diff --name-only HEAD^ HEAD)
if ! echo "$CHANGED_FILES" | grep -q "manifest.json"; then
echo "manifest.json has not changed"
echo "::set-output name=manifest_changed::false"
echo "manifest_changed=false" >> $GITHUB_OUTPUT
else
echo "manifest.json has changed"
echo "::set-output name=manifest_changed::true"
echo "manifest_changed=true" >> $GITHUB_OUTPUT
fi
outputs:
Expand Down Expand Up @@ -59,14 +59,16 @@ jobs:

- name: Find signed XPI file name
id: find-xpi
run: echo "::set-output name=xpi_name::$(ls ./artifacts/*.xpi)"
run: |
XPI_FILE=$(ls ./artifacts/*.xpi)
echo "xpi_name=$(basename "$XPI_FILE" .xpi)" >> $GITHUB_OUTPUT
- name: Extract version for tag and release name
id: extract-version
run: |
XPI_NAME="${{ steps.find-xpi.outputs.xpi_name }}"
VERSION_PART=$(echo "$XPI_NAME" | cut -d '-' -f 2)
echo "::set-output name=version::$VERSION_PART"
echo "version=$VERSION_PART" >> $GITHUB_OUTPUT
- name: Copy signed XPI to real name
id: copy-xpi
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "__MSG_extensionName__",
"version": "0.4.2",
"version": "0.4.3",
"description": "__MSG_extensionDescription__",
"default_locale": "en",
"permissions": [
Expand Down

0 comments on commit e912989

Please sign in to comment.