Skip to content

Release v1.0.0-57-2a78e1c052afc8ef25d0693eda90be725adabc62

Compare
Choose a tag to compare
feat: Update version to 1.0.0

Update the version from 0.1.0 to 1.0.0 in pyproject.toml file and add a new __version__.py file with the updated version number "1.0.0". Also, include a description for the argument parser in args.py and provide a link to the project repository.

For more details, see: https://github.com/25077667/cg

feat: Add copy_artifact_dest and copy_artifact_path options

Add support for specifying the destination directory for copied artifacts and the path of the artifact to be copied. This allows more flexibility in handling artifacts generated during the workflow execution.

- Added `copy_artifact_dest` option to specify destination directory for copied artifacts
- Added `copy_artifact_path` parameter to define path of specific artifact to be copied
- Updated workflow steps to include copying artifact based on architecture into designated release folder

feat: Update release workflow to correctly extract and upload artifacts

- Use the current working directory variable to set the base path
- Create a temporary mount directory in runner's temp folder
- Mount the output image into the temporary mount directory
- Create a 'release' folder in the current directory for artifact extraction
- Copy artifacts from mounted location to local 'release' folder for upload via actions/upload-artifact

This commit updates the release workflow in '.github/workflows/release.yml'
to improve artifact extraction and uploading process.

feat: Update release workflow to upload image artifact

Add a step to extract and upload the image artifact for debugging
purposes. Now, the workflow uploads the image file instead of the elf
file. Also, commented out uploading elf file for now.

feat: Add script to extract binary from ARM Linux image

Add a new script `armlinux_loopdev_extract.sh` to extract the binary
file from an ARM Linux image. This script sets up loop devices, mounts
the partition, and copies the binary file to the specified output file.

The script checks if the necessary arguments are provided and verifies
the existence of the image file. It then sets up a loop device for the
image, identifies and mounts the second partition, copies the binary,
and unmounts/detaches loop devices upon completion.

The addition enhances automation by facilitating extraction of binaries
from ARM Linux images efficiently.